Project

General

Profile

Actions

Bug #73726

closed

Extbase ObjectStorage Persistence / TCE Main Inline Handling inconsistent

Added by Philipp Wrann over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-02-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

extbase-wrong-uid.png (102 KB) extbase-wrong-uid.png Philipp Wrann, 2016-02-28 18:06
Actions

Also available in: Atom PDF