diff --git a/src/Umbraco.Web/Mvc/SurfaceController.cs b/src/Umbraco.Web/Mvc/SurfaceController.cs index a4470e7fea..37cb38751a 100644 --- a/src/Umbraco.Web/Mvc/SurfaceController.cs +++ b/src/Umbraco.Web/Mvc/SurfaceController.cs @@ -114,7 +114,7 @@ namespace Umbraco.Web.Mvc else { //exit the loop - currentRouteData = null; + currentContext = null; } } return new Attempt( diff --git a/src/umbraco.cms/businesslogic/workflow/Notification.cs b/src/umbraco.cms/businesslogic/workflow/Notification.cs index 4f8fc52111..fb98742d31 100644 --- a/src/umbraco.cms/businesslogic/workflow/Notification.cs +++ b/src/umbraco.cms/businesslogic/workflow/Notification.cs @@ -83,8 +83,8 @@ namespace umbraco.cms.businesslogic.workflow { // check if something was changed and display the changes otherwise display the fields Property oldProperty = oldDoc.getProperty(p.PropertyType.Alias); - string oldText = oldProperty.Value.ToString(); - string newText = p.Value.ToString(); + string oldText = oldProperty.Value != null ? oldProperty.Value.ToString() : ""; + string newText = p.Value != null ? p.Value.ToString() : ""; // replace html with char equivalent ReplaceHTMLSymbols(ref oldText); @@ -123,7 +123,7 @@ namespace umbraco.cms.businesslogic.workflow summary.Append(""); summary.Append("" + p.PropertyType.Name + ""); - summary.Append("" + p.Value.ToString() + ""); + summary.Append("" + newText + ""); summary.Append(""); } summary.Append(