Bug #38940
closed
localization of "All languages" in listview possible
Added by Heiko Kromm over 12 years ago.
Updated almost 7 years ago.
Description
If you have a dataset which is set to "All languages" (sys_language_uid=-1) and enable "Localization view" in List-module there will be a possibility to localize the dataset to other languages, which schould not be allowed.
Files
I just tested this on v6.0.3 (on demo.typo3.org) and can confirm the issue. The issue can also be reproduced on 4.5.x (see screenshot).
- Target version set to 7.4 (Backend)
- Is Regression set to No
The getRecordOverlay method allows this when the record is rendered in the frontend:
if ($sys_language_content > 0) {
// Must be default language or [All], otherwise no overlaying:
if ($row[$GLOBALS['TCA'][$table]['ctrl']['languageField']] <= 0) {
...
}
If no overlay record is found, then it checks for 0 in the original record and unsets it. So IMHO, records with sys_language_uid -1 should be localizable
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
- Status changed from New to Accepted
- Assignee set to Mathias Schreiber
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF