hi Ismail, only one, the one that uses a Log.Notify, that shouldnt cause another "Publish" action though.
im runing umbraco v
4.0.4.1, i also have several instances of umbraco running different websites set up on different servers, they all do the same thing. Ismail, this doesnt happen with you.. ?
I see two publish log entries for most publishes using 4.5.1 with no additional handlers active. Looking at the log I can see a couple that aren't duplicated, but for the most part any Publish is followed soon thereafter by another. Sometimes up to a a few seconds elapse, though.
is this a bug then(someone forgot to take out a line of publish somewhere in the code)? or is the second publish actually doing something behind the scenes?
is this a bug then(someone forgot to take out a line of publish somewhere in the code)? or is the second publish actually doing something behind the scenes?
I am also getting multiple Publish events in the Audit trail. It only occurs when you click Save & Publish on the tool bar. There is only one Publish event if you select publish from the context menu.
This makes the Rollback feature a little more confusing as it adds extra versions to the drop down with the same time stamp.
In an attempt to get to the bottom of this I had a look through the source code.
When using Save & Publish from the toolbar, the document is not being published twice. The Audit trail contains two events as the Publish event is being logged twice. It is logged by the PublishWithResult() method ( the method that does the actual publishing ) and it is also logged by the presentation layer ( in EditContent.aspx.cs ).
When publishing from the context menu, the EditContent.aspx is not involved and we only have one Publish event in the audit trail.
audit trail - 2 publishes
hi,
just wondering, why is it that when you publish an item ,it creates 2 publish actions in the audit trail simultaneously? same date/time stamp too.
Felix,
Do you have any action handlers installed?
Regards
Ismail
hi Ismail, only one, the one that uses a Log.Notify, that shouldnt cause another "Publish" action though.
im runing umbraco v 4.0.4.1, i also have several instances of umbraco running different websites set up on different servers, they all do the same thing. Ismail, this doesnt happen with you.. ?
I see two publish log entries for most publishes using 4.5.1 with no additional handlers active. Looking at the log I can see a couple that aren't duplicated, but for the most part any Publish is followed soon thereafter by another. Sometimes up to a a few seconds elapse, though.
thanks xander, its not just me then.
is this a bug then(someone forgot to take out a line of publish somewhere in the code)? or is the second publish actually doing something behind the scenes?
thanks xander, its not just me then.
is this a bug then(someone forgot to take out a line of publish somewhere in the code)? or is the second publish actually doing something behind the scenes?
i am using 4.7 and i am having the same behavior too.
I am also getting multiple Publish events in the Audit trail. It only occurs when you click Save & Publish on the tool bar. There is only one Publish event if you select publish from the context menu.
This makes the Rollback feature a little more confusing as it adds extra versions to the drop down with the same time stamp.
This is using 4.7.1.
In an attempt to get to the bottom of this I had a look through the source code.
When using Save & Publish from the toolbar, the document is not being published twice. The Audit trail contains two events as the Publish event is being logged twice. It is logged by the PublishWithResult() method ( the method that does the actual publishing ) and it is also logged by the presentation layer ( in EditContent.aspx.cs ).
When publishing from the context menu, the EditContent.aspx is not involved and we only have one Publish event in the audit trail.
is working on a reply...