cancel
Showing results for 
Search instead for 
Did you mean: 

behaviour cancel delete node

dacedos
Champ in-the-making
Champ in-the-making
Hi,

I need to implement a behaviour to check some conditions before deleting a node. Can I cancel the delete action if the node does not match all conditions?

thanks!
11 REPLIES 11

dacedos
Champ in-the-making
Champ in-the-making
Hi Derek,

I finally solved by throwing a ReportedException instead of AlfrescoRuntimeException, now it shows messages in different languages without the bean.

derek
Star Contributor
Star Contributor
Hi,
error_delete_file=Unable to delete File due to system error: {0} 
There is probably a bug in the Spanish translation; it seems to be missing the '{0}' bit.  Please raise a bug for this.
Regards