Bug #84267
closedUnique evaluation does not work with l10n_mode=exclude
100%
Description
Translation handling changed with l10n_mode=exclude, the field is copied from default language to language children. In combination with eval=unique the language children get a unique value too like “fieldvalue1”.
My expected behaviour is: uniqueness is ignored for translated records, since the values are just copied.
Updated by Christoph Lehmann over 6 years ago
I'm going to make a commit based on our quickfix
Updated by Gerrit Code Review over 6 years ago
- Status changed from New 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/56151
Updated by Christoph Lehmann over 6 years ago
- Assignee set to Oliver Hader
Example
An Attributegroup record is a collection of attributes, references them by a code (a comma-separated list) and is not translatable.
An attribute record is translatable and the code field has l10n_mode=exclude and eval=unique.
In Extbase the $wantedAttribute is not found in a foreign language since extbase only finds the attribute with code "fieldvalue1".
foreach ($attributeGroup->getCodes() as $attributeCode) { $wantedAttribute = $attributeRepository->findByCode($attributeCode); }
Updated by Andreas Wolf over 6 years ago
- Is duplicate of Bug #83572: Changed behaviour for uniqueInPid/unique in translated records added
Updated by Gerrit Code Review over 6 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/56151
Updated by Gerrit Code Review over 6 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/56151
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56151
Updated by Gerrit Code Review over 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56151
Updated by Susanne Moog over 6 years ago
- Has duplicate Bug #84666: Page alias is changed for translated pages added
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56151
Updated by Gerrit Code Review over 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56151
Updated by Benni Mack about 6 years ago
- Related to Task #86780: Add test for (wrong) unique eval handling in pages:alias added
Updated by Gerrit Code Review about 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56151
Updated by Christoph Lehmann about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dd6713fed010185b18dccd12cc9d5ae59e6f2375.
Updated by Gerrit Code Review about 5 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61792
Updated by Gerrit Code Review about 5 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61792
Updated by Gerrit Code Review about 5 years ago
Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61792
Updated by Gerrit Code Review about 5 years ago
Patch set 4 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61792
Updated by Gerrit Code Review about 5 years ago
Patch set 5 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61792
Updated by Christoph Lehmann about 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset 40f7d52bb257273c4c813f4ace0fce773b3914e3.
Updated by Benni Mack almost 5 years ago
- Status changed from Resolved to Closed
Updated by Georg Ringer over 4 years ago
- Related to Bug #90653: TCA eval with uniqueInPid: allow identical value in localized content added
Updated by Christian Kuhn about 4 years ago
- Related to Bug #87038: Unique evaluation does not work with l10n_mode=exclude after editing original record again added