Skip to content

Commit

Permalink
Not fixing already broken items in uSync #208
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJump committed Feb 7, 2019
1 parent 56c4ffc commit 6e0e223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jumoo.uSync.Core/Serializers/ContentTypeSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ private void DeserializeCompositions(IContentType item, XElement node)
}
}

/*
if (item.ParentId != -1 && compositions.Count == 0)
{
// it might be that the item was created Umbraco 7.13 - 7.13.2 as a collection and it doesn't have it's
Expand All @@ -263,6 +264,7 @@ private void DeserializeCompositions(IContentType item, XElement node)
compositions.Add(parent);
}
}
*/

LogHelper.Debug<ContentTypeSerializer>("Setting {0} compositions for element", () => item.ContentTypeComposition.Count());
item.ContentTypeComposition = compositions;
Expand Down

0 comments on commit 6e0e223

Please sign in to comment.