From 9aadb41f4aa98a2fde2f55064ad5cf96a8a98e12 Mon Sep 17 00:00:00 2001 From: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> Date: Tue, 25 Apr 2023 15:08:15 +0200 Subject: [PATCH] Change state to publishing before handling ContentSavingNotification (#14114) --- src/Umbraco.Core/Services/ContentService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Core/Services/ContentService.cs b/src/Umbraco.Core/Services/ContentService.cs index c9d1cd7f9e..f889ce424d 100644 --- a/src/Umbraco.Core/Services/ContentService.cs +++ b/src/Umbraco.Core/Services/ContentService.cs @@ -1146,6 +1146,8 @@ public class ContentService : RepositoryService, IContentService var allLangs = _languageRepository.GetMany().ToList(); + // Change state to publishing + content.PublishedState = PublishedState.Publishing; var savingNotification = new ContentSavingNotification(content, evtMsgs); if (scope.Notifications.PublishCancelable(savingNotification)) {