November Happy Hour will be moved to Thursday December 5th.

Publishing sometimes requires two publish action

Vote:
 

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

https://graaf-roompot.tinytake.com/tt/Mzg1NzM5MF8xMTgwMTczMQ

#208841
Nov 04, 2019 9:58
Vote:
 

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.

#208866
Nov 04, 2019 12:47
Vote:
 

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.

#208869
Edited, Nov 04, 2019 12:58
Vote:
 

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.

#208914
Nov 04, 2019 20:32
Vote:
 

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

#208916
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?
Vote:
 

Hi,

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

any Suggestions?

#210696
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.