Bug #38940
closedlocalization of "All languages" in listview possible
100%
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
Updated by Mario Rimann over 11 years ago
- File issue38940.png issue38940.png added
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).
Updated by Mathias Schreiber over 9 years ago
- Target version set to 7.4 (Backend)
- Is Regression set to No
Updated by Andreas Kießling over 9 years ago
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
Updated by Susanne Moog about 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber almost 9 years ago
- Status changed from New to Accepted
- Assignee set to Mathias Schreiber
Updated by Gerrit Code Review almost 9 years ago
- Status changed from Accepted 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 https://review.typo3.org/44409
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44409
Updated by Gerrit Code Review almost 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44409
Updated by Mathias Schreiber almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1fdc3b6074925041aa6b21e77350d5417506472c.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed