Notifications
Clear all
[Closed] Delete multiple objects callback
Jul 23, 2010 5:36 pm
Hi All,
I’m trying to write a callback that when an object is deleted some other objects associated with it are also deleted. The other objects are stored in a nodeTab custom attribute on the base object. I’ve tried just deleting them in the #nodePreDelete callback but it causes a recursive problem. I’ve also tried selecting them in the #nodePreDelete callback and then deleting them in the #nodePostDelete callback with no success. In an old thread someone mentioned temporarily disabling the callback but didn’t give details.
Any Thoughts?
Thanks,
Rod
1 Reply
Jul 23, 2010 5:36 pm
Ok, I got the nodePostDelete selection method to work now in case someone wants to know. Just had to put in some error detecting. Not the most elegant solution but not too bad.
Thanks,
Rod