Ensures that domains assigned to non-published nodes are filtered when routing, ensures caches are cleared when content is deleted or langauges are changed, updates logic for dealing with null invariant content names, adds more validation for saving cultre variants.

This commit is contained in:
Shannon
2018-05-02 14:52:00 +10:00
parent efc56c015f
commit 9843f3a5fd
16 changed files with 200 additions and 75 deletions

View File

@@ -55,8 +55,6 @@ namespace Umbraco.Core.Models
Id = 0; // no identity
VersionId = 0; // no versions
//fixme we always need to set the invariant name else an exception will throw if we try to persist
Name = name;
SetName(culture, name);
_contentTypeId = contentType.Id;