mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Added fix to not trigger onUpdateProperties policy when deleting a hold.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user