Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • pvassalo 21 posts 28 karma points
    Apr 22, 2009 @ 17:16
    pvassalo
    0

    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

  • Anders Brännmark 228 posts 280 karma points
    Jul 02, 2010 @ 10:35
    Anders Brännmark
    0

    Bumping, This seam to be the case in 4.0.4.2 also? Can anyone confirm?

  • Anders Brännmark 228 posts 280 karma points
    Jul 02, 2010 @ 10:37
    Anders Brännmark
    0

    Or wait, they are only fired at deletion from trashbin?

     

  • Anders Brännmark 228 posts 280 karma points
    Jul 02, 2010 @ 10:40
    Anders Brännmark
    1

    Confirmed. They only fire when deleted from trashbin.

  • Adi Molina von Ahn 5 posts 26 karma points
    Aug 18, 2010 @ 01:17
    Adi Molina von Ahn
    1

    try Document.BeforeMoveToTrash

Please Sign in or register to post replies

Write your reply to:

Draft