Fixing remove from context
This commit is contained in:
parent
43fdf5e237
commit
d68c3ba564
|
@ -572,6 +572,9 @@ public abstract class RelationManagement<T extends EntityManagement<? extends En
|
||||||
targetEntityManagement.setDryRun(dryRun);
|
targetEntityManagement.setDryRun(dryRun);
|
||||||
targetEntityManagement.setHonourPropagationConstraintsInContextSharing(honourPropagationConstraintsInContextSharing);
|
targetEntityManagement.setHonourPropagationConstraintsInContextSharing(honourPropagationConstraintsInContextSharing);
|
||||||
targetEntityManagement.setTargetSecurityContext(targetSecurityContext);
|
targetEntityManagement.setTargetSecurityContext(targetSecurityContext);
|
||||||
|
if(targetEntityManagement instanceof ResourceManagement) {
|
||||||
|
((ResourceManagement) targetEntityManagement).setSanityCheckNotRequired();
|
||||||
|
}
|
||||||
switch(removeConstraint) {
|
switch(removeConstraint) {
|
||||||
case cascade:
|
case cascade:
|
||||||
targetEntityManagement.internalRemoveFromContext();
|
targetEntityManagement.internalRemoveFromContext();
|
||||||
|
|
Loading…
Reference in New Issue