Fixes: U4-4141 7.0.2 "Save and send for approval" fails for a writer user on a newly created unsaved content page
This commit is contained in:
@@ -1263,8 +1263,8 @@ namespace Umbraco.Core.Services
|
||||
if (SendingToPublish.IsRaisedEventCancelled(new SendToPublishEventArgs<IContent>(content), this))
|
||||
return false;
|
||||
|
||||
//TODO: Do some stuff here.. ... what is it supposed to do ?
|
||||
// pretty sure all that legacy stuff did was raise an event? and we no longer have IActionHandlers so no worries there.
|
||||
//Save before raising event
|
||||
Save(content, userId);
|
||||
|
||||
SentToPublish.RaiseEvent(new SendToPublishEventArgs<IContent>(content, false), this);
|
||||
|
||||
|
||||
@@ -750,7 +750,7 @@ namespace umbraco.cms.businesslogic.web
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Executes handlers and events for the Send To Publication action.
|
||||
/// Saves and executes handlers and events for the Send To Publication action.
|
||||
/// </summary>
|
||||
/// <param name="u">The User</param>
|
||||
public bool SendToPublication(User u)
|
||||
|
||||
Reference in New Issue
Block a user