Hi guys,
I have a new question. I passed most of my day on this problem and I'm out of solution. It's a little bit complexe but I will try to explain simply.
So I had a node with rules. Rules are create programmaticaly when a specific association is create by a custom behavior. Those rules are not add on the folder associated but on a parent folder and are use to move content in the subfolder depending on a property. It's like a dispatch, we say if subfolder has this association then move all content from parent folder in this subfolder.
On the other hand I equally had my behavior whose delate my rules if association is deleted.
This behaviour and rule work correctly (or I think so) and are not the problem.
My problem is when I want to delete the parent folder (the one with the rule) then I have a error and nothing append:
Exception from executeScript - redirecting to status template error: Node does not exist: workspace://SpacesStore/94261b21-70d7-4dc6-9e18-4cb5672876a0(Status[id=98929changeTxnId=383e90d6-0cdb-4568-ade1-2eb6040e30f8, dbTxnId=3819, deleted=true])
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/94261b21-70d7-4dc6-9e18-4cb5672876a0(Status[id=98929changeTxnId=383e90d6-0cdb-4568-ade1-2eb6040e30f8, dbTxnId=3819, deleted=true])
If I delete rules or if I delete the subfolder, then I could delete my parent folder.
I absolutely not understand where this error come from. Can anybody help me please?
Regards