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:
Shannon
2014-05-28 12:40:43 +10:00
parent 13e8e972eb
commit d987dfb5a2
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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)