From c33ec7ca55f033c5be78dfd2b64ce171bf203973 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 ddad88b482..c32a1a4183 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)) {