[TYPO3-core] RFC #12781: Bug: tceforms type do not work if the type field has l10n_mode == exclude

Fabrizio Branca news at _REMOVETHIS_fabrizio-branca.de
Thu Nov 26 17:56:22 CET 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12781

Branches:
trunk

Problem:
When defining a field as 'type' field in TCA and defining this field as 
l10n_mode "exclude" the type field will not be respected when editing 
the language overlay records (which results in fields won't be shown or 
hidden regarding the type configuration).
This is the case if you want to prevent language versions to switch the 
type (which in my opinion is the most common case)

Solution:
Check if the type field is an exclude field and if so, then read the 
typeNum value from the default language's data

Notes:
Would really like to see this in 4.3 :)

Bye and have a nice day,

Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12781.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091126/81d1f1b7/attachment.txt>


More information about the TYPO3-team-core mailing list