[TYPO3-core] RFC: Bug: #10346: l10n_display option abusively hides field for "All" languages when set to defaultAsReadonly

Francois Suter fsuter at cobweb.ch
Thu Feb 5 21:39:00 CET 2009


Committed to 4.1 (rev 4955), 4.2 (rev 4956) and trunk (rev 4957)

> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10346
> 
> Branches:
> 4.1, 4.2 and trunk
> 
> Problem:
> When TCA column option l10n_display is set to "defaultAsReadonly", it 
> overrides l10n_mode to display a field as read-only in a translated 
> record. However a wrong test in TCEfroms puts the field in read-only 
> mode also when the language field of the record is set to -1 ("All" 
> languages).
> 
> Solution:
> The test passes when language field is anything but 0 (default) 
> language. However it must pass only when language is field is > 0.
> 
> Cheers
> 



-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list