Copied to clipboard

Flag this post as spam?

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


  • Giant Penguin 23 posts 112 karma points
    Jul 28, 2020 @ 02:57
    Giant Penguin
    0

    Saved event handler is executed after one Publishing events

    Hi All,

    Handlers of Saving, Saved, Publishing events are registered in a IComponent's Initialize method as

            ContentService.Saving += ContentService_Saving;
            ContentService.Saved += ContentService_Saved;
            ContentService.Publishing += ContentService_Publishing;
    

    but in debugging I see that ContentServiceSaved is always executed after ContentServiceSaving and ContentService_Publishing, means Saving => Publishing => Saved.

    Is this as proposed and in correct order?

    As the Events name I think its handlers should be Saving => Saved => Publishing. Do I miss understanding? Please help verifying.

  • David Armitage 508 posts 2078 karma points
    Aug 04, 2020 @ 11:59
    David Armitage
    0

    Hi,

    From my understanding I think the order is

    Saving Saved Published

    Since users can save without publishing I think logically it would mean publishing comes after the saved. I haven't tested but I am pretty sure this is the order.

    Regards

    David

Please Sign in or register to post replies

Write your reply to:

Draft