You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Small change to what triggers a Sitecore field value to be reset (to std value). Rainbow would skip this, for fields that already were .NullOrEmpty - but an unchecked checkbox field is empty and a reset one is null. Now it resets correctly for any value not null.
* Added constructor overload to the DefaultDeserializer, to remain compatible with SideKick and other potential projects that have not yet been updated.
* The ItemComparer will no longer attempt to find a Field Comparer for null/null values, it will now assume them to be identical. This should help untangle Unicorn Issue 319.
* 2.0.6-pre3
* Fixes Unicorn Issue #334 - Changes in Sitecore's internal handling of shared/versioned/unversioned field values conflicted with Rainbow's handling of same
* Ticked version to 2.0.6-pre4
* Another fix for Unicorn Issue #319 - Empty field values would not get written back to Sitecore if no field value existed (e.g. field contained standard value)
* Ticked version to 2.0.6-pre5
* Fixes Unicorn issue #324
* Ticked version to 2.0.6-pre6
* #30 - Do not reset fields which are excluded in the fieldFilter (#31)
* Changed 2 tests related to what should happen, when a field is in target only or source only
* Fixed some line endings to deal with some LF/CRLF inconsistency. We probably need a .gitsettings to nail this down
* Ticked version to 2.0.6-pre7
Copy file name to clipboardExpand all lines: src/Rainbow.Storage.Sc/Deserialization/DefaultDeserializer.cs
+19-6Lines changed: 19 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,10 @@ public class DefaultDeserializer : IDeserializer
37
37
38
38
publicboolIgnoreBranchId{get;}
39
39
40
+
// Overload constructor, implemented for keeping compatibility with external tools that may not yet have updated their codebase to support the branchId switch (e.g. SideKick)
// This is what Sitecore's internal deserializer does instead. Will investigate if this is a better option. Also depends on which Sitecore version introduced this.
287
+
//if (EventDisabler.IsActive)
288
+
// ReflectionUtil.CallMethod(targetItem.Database.Engines.TemplateEngine, "HandleItemSaved", new object[] {targetItem, (ItemChanges) ReflectionUtil.CallMethod(targetItem, "GetFullChanges"), false});
0 commit comments