Bug #73726
closedExtbase ObjectStorage Persistence / TCE Main Inline Handling inconsistent
100%
Description
When persisting an extbase object the KeyColumn (most likely uid_foreign) gets updated with $parentObject->getUid(). That - as we know - returns the uid of the original language content.
But when creating inline relations or translating such via TCE main the uid of the localized rows is taken instead.
That behaviour is really weird.
I suggest to adjust extbase to use the "_localizedUid" property when writing inline relations.
The issue can be seen in TYPO3\CMS\Extbsae\Persistence\Generic\Backend::attachObjectToParentObjectRelationHasMany
at line 601 (TYPO3 7.6 LTS) - see attached screenshot
That results in wrong rendering in the backend if rows have been created on translated entities via extbase.
In our case this is really inconvinient because we do heavy importing stuff via extbase but the data is not shown correctly in TCEMain.
This could also be realted to many other extbase/persistence issues.
Files
Updated by Gerrit Code Review over 8 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/46996
Updated by Gerrit Code Review almost 7 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/46996
Updated by Anonymous over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 11cd408dc7c6e61ba38b4515d6caeda67a5f274a.