Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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. https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/notifications/contentservice-notifications#usage
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?
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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. https://docs.umbraco.com/umbraco-cms/v/13.latest-lts/reference/notifications/contentservice-notifications#usage
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?
Thanks
is working on a reply...