Project

General

Profile

Actions

Feature #75358

open

Synchronize Inline Relations pid field when aggregate pid has been changed

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

Status:
New
Priority:
Could have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2016-04-01
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

I recognized, that if you change a pid via extbase persistence the child records related inline are not adjusted as well.

So if you work with different groups for pagetrees and you move one record from Tree A to Tree B the users wont be able to edit the record because the child record is not moved along with the aggregate.

This works via FormEngine but not Extbase and should IMO have the same behaviour.

There are 2 possible Solutions:
1) Provide a Utility to adjust the pid, so developers would have to implement the feature manually
2) Synchronize all pids when persisting an aggregate object, maybe introduce some configuration to disable this (config.tx_extbase.persistence.classes.ENTITY.keepChildrenAtPartentPid)

Actions

Also available in: Atom PDF