Closed ascheider closed 1 year ago
Thanks for your brillant instructions of how to reproduce the error. Is fixed in 3.3.1.
One little addition, @ascheider: Please be aware that the mapping field path
is for the parent element. It is not to map the full path (which consists of path and key (= object name)).
For this reason your example import currently throws an ALERT: Cannot set parent object to itself
. But nevertheless the relation gets populated, so maybe this path problem was only on your example mapping.
Pimcore 10.5.10 Data Director: 3.2.37
How to reproduce:
Zip: Archiv.zip
Import 'Test' class and Import 'Import' Brick from zip. Create 2 Test objects in root folder:
Import Data Director Config from zip.
Upload csv file:
relation-brick-import.csv
Run import.
Expected Result:
Relation Object is assigned in Test relation brick in german language.
Actual result: Exception
Trace:
stack-trace.txt
If i assign relation object manually everything is okay:
If i for example create input fields inside localized brick, import works fine, the problem is only with relation field.
Hope it helps to reproduce the issue.