[Bug, EC] PEES-888: Loss of all relation data in FC after moving DataObjects#1070
[Bug, EC] PEES-888: Loss of all relation data in FC after moving DataObjects#1070
Conversation
|
|
More details, the runtime cached object doesn't have relations https://github.com/pimcore/pimcore/blob/97b0a04c6ed7d9d945428b75012fc271a99a3a25/models/DataObject/AbstractObject.php#L224 because is registered before https://github.com/pimcore/pimcore/blob/97b0a04c6ed7d9d945428b75012fc271a99a3a25/models/DataObject/AbstractObject.php#L232-L235 Alternatively we need to add this getRawRelationData to the non-forced one before returning object on |
|
Closing in favor of pimcore/pimcore#18892 for a more widespread coverage |



Resolves https://pimcore.atlassian.net/browse/PEES-888, https://github.com/pimcore/service-operations/issues/306
Field collection relations might be not fully initialized without forcing it, along with the "problem" that for the relations in a FC are not getting Delta calculated, but they get deleted and reinserted in the DB during update process.