Added fix to not trigger onUpdateProperties policy when deleting a hold.

This commit is contained in:
cagache
2019-08-16 19:08:54 +03:00
parent 6e4991a658
commit cf9c40b11b

View File

@@ -202,6 +202,8 @@ public class HoldServiceImpl extends ServiceBaseImpl
List<NodeRef> frozenNodes = getHeld(hold);
for (NodeRef frozenNode : frozenNodes)
{
//set in transaction cache in order not to trigger update policy when removing the child association
transactionalResourceHelper.getSet("frozen").add(frozenNode);
removeFreezeAspect(frozenNode, 1);
}