Bug #69757

Show error if a language has a missing language_isocode

Added by Nicole Cordes over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-13
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If language records have a missing language_isocode information (and static_info_tables isn't installed), FormEngine fails to get proper information. This can lead to wrong HTML (in RTE elements) and the user should be notified about the error.

You can test this with EXT:styleguide and rte_4 field (don't forget to unset at least one language_isocode in your sys_language records)

Associated revisions

Revision 38ede8f5 (diff)
Added by Nicole Cordes over 4 years ago

[BUGFIX] Notify user about insufficient language configuration

The language records are necessary within FormEngine and FlexForm
handling. If a language has a missing language_isocode, the output of
RTE elements might break because of missing identifier information.
This patch adds a notification to the user to check the language
record configuration and set a proper language_isocode.

Resolves: #69757
Releases: master
Change-Id: Ic969217ee6f7b4ca46b55d0d274d53391b080c5b
Reviewed-on: http://review.typo3.org/43270
Reviewed-by: Thorsten Bringewatt <>
Tested-by: Thorsten Bringewatt <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 268ed993 (diff)
Added by Nicole Cordes over 4 years ago

[FOLLOWUP][BUGFIX] Notify user about insufficient language configuration

Patch fixes unit tests.

Related: #69757
Releases: master
Change-Id: I0cd85610bd0e41b10bfc6b97d91c0b69624b9a49
Reviewed-on: http://review.typo3.org/43379
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43270

#2 Updated by Nicole Cordes over 4 years ago

This patch is really necessary as the Introduction Package fails to set language_isocode for imported languages.

#3 Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43270

#4 Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43270

#5 Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43270

#6 Updated by Gerrit Code Review over 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43270

#7 Updated by Nicole Cordes over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Anja Leichsenring about 4 years ago

  • Sprint Focus deleted (On Location Sprint)

#9 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF