From 7cd8ba13c0a3ff9d9d66700bf9990ff95b71d378 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 20 Jan 2016 10:45:40 +0100 Subject: [PATCH] U4-7781 Setting a user's start node causes YSOD #U4-7781 Fixed --- src/umbraco.cms/businesslogic/CMSNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/umbraco.cms/businesslogic/CMSNode.cs b/src/umbraco.cms/businesslogic/CMSNode.cs index 3b4e9c9b31..632227a3c5 100644 --- a/src/umbraco.cms/businesslogic/CMSNode.cs +++ b/src/umbraco.cms/businesslogic/CMSNode.cs @@ -809,7 +809,7 @@ order by level,sortOrder"; if (Level == 1) throw new ArgumentException("No newParent node"); if (_parent == null) { - _parent = ApplicationContext.Current.Services.EntityService.Get(Entity.ParentId); + _parent = ApplicationContext.Current.Services.EntityService.Get(_parentid); } return new CMSNode(_parent); }