Reverting SetValue change on CreateContent
Move the content.SetValue out of the if (propertyType == null) call - as this causes inherited values not to be saved.
This commit is contained in:
@@ -259,10 +259,9 @@ namespace Umbraco.Core.Services
|
||||
propertyValue = string.Join(",", propertyValueList.ToArray());
|
||||
|
||||
}
|
||||
|
||||
//set property value
|
||||
content.SetValue(propertyTypeAlias, propertyValue);
|
||||
}
|
||||
//set property value
|
||||
content.SetValue(propertyTypeAlias, propertyValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user