BeforeUnpublish and BeforeDelete Document Event Handlers problem?
Hi everyone!
Umbraco doesn't seem to handle this events... I've put a break point in the delegate methods and they aren't run...
I've used BeforeSave and BeforePublish and they are handled (although BeforeSave has a known problem).
Does anyone ever used BeforeUnpublish and BeforeDelete event handlers successfully?
BeforeUnpublish and BeforeDelete Document Event Handlers problem?
Hi everyone!
Umbraco doesn't seem to handle this events... I've put a break point in the delegate methods and they aren't run...
I've used BeforeSave and BeforePublish and they are handled (although BeforeSave has a known problem).
Does anyone ever used BeforeUnpublish and BeforeDelete event handlers successfully?
thanks
Pedro
Bumping, This seam to be the case in 4.0.4.2 also? Can anyone confirm?
Or wait, they are only fired at deletion from trashbin?
Confirmed. They only fire when deleted from trashbin.
try Document.BeforeMoveToTrash
is working on a reply...