More content refactoring (tests)

This commit is contained in:
Stephan
2017-11-10 11:27:12 +01:00
parent 09f499d5d6
commit fcf2b27953
121 changed files with 1459 additions and 2400 deletions

View File

@@ -111,7 +111,7 @@ namespace Umbraco.Core.Models
property.Id = existing.Id;
if (property.Values.Count == 0 && existing.Values.Count > 0)
property.Values = existing.Values;
property.Values = existing.Values.Select(x => x.Clone()).ToList();
// replace existing with property and return,
// SetItem invokes OnCollectionChanged (but not OnAdd)