SaaS CMS has officially launched! Learn more now.

Publishing sometimes requires two publish action


Might it have to do with the speed the page is edited / published?

Nov 04, 2019 9:58

It seems like you are capturing events in Initailization module. That triggers auto save (after content update, when you use Save action) and then asking you to publish that changes. Can you search in Initialization Modules for Save Action.

Nov 04, 2019 12:47

Most probably the event will be PublishedContent. It occures when the item is published.

Try a global search in your solution and look into results for Initialization Modules.

Edited, Nov 04, 2019 12:58

Yes, it seems like you published the page before it saved in the database. I think it should not display the publish icon until is completely saved the data in database.

So I think you can report this to Episerver.

Nov 04, 2019 20:32

Does it only happen when you try to publish immediately after adding an image using drag-and-drop?

Nov 04, 2019 21:16
René - Nov 06, 2019 9:41
Yes that seems to be the issue here.
- Nov 06, 2019 9:51
If you do the same, but wait three seconds between adding the image, and publishing the page: still the same issue?

It looks like your first publishing occurs before the image is fully added.
Praful Jangid - Nov 06, 2019 11:29
Do you see any error in console (or in logs), just after adding the image and autosave triggers?


I am having the same issue and I am capturing PublishingContent event in IInitializableModule

any Suggestions?

Dec 03, 2019 15:48
Praful Jangid - Dec 03, 2019 17:57
It will be helpful if you can share the code.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.