Change state to publishing before handling ContentSavingNotification (#14114)
This commit is contained in:
committed by
Nikolaj
parent
3b104bf256
commit
c33ec7ca55
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user