Copied to clipboard

Flag this post as spam?

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

  • Jay 424 posts 651 karma points
    17 days ago

    ContentPublishingNotification with CancelOperation set is still hitting into ContentPublishedNotification

    Hi All,

    I'm using Umbraco 13.3.2

    I've got a ContentPublishingNotification which checks for specific condition and if it's met will call the CancelOperation as per the example below. It's working as it shows the red panel about the error.

    But this doesn't stops the publishing as it still hits into the ContentPublishedNotification.

    So it's showing both the green panel saying content published and then the red panel error from the CancelOperation below the green panel.

    Is this a bug? Or is this how it's supposed to work?

    Is there a way to cancel publishing when I've set the CancelOperation?


Please Sign in or register to post replies

Write your reply to: