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

Francois Suter fsuter at cobweb.ch
Wed Feb 4 12:52:11 CET 2009


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug10346.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090204/b6755426/attachment.txt 


More information about the TYPO3-team-core mailing list