Unicorn icon indicating copy to clipboard operation
Unicorn copied to clipboard

Transparent sync doesn't read item content correctly when copying content

Open UffeHammer opened this issue 5 years ago • 2 comments

There seems to be a bug where Transparent sync doesn't read item content correctly when copying sitecore content. We have tried copying content from our unicorn controlled demosite and into our normal content area, this fails completely when content hasn't been synced with Sitecores database. After sync to database items can be copied normally, so this is what we have been doing despite it being pretty annoying. However now we can se that the same behaviour is present when sitecore tries to create items that are based on a branch that only exist in Unicorn files, it does not create any items of the branch until we do a sync of that branch area.

This is a showstopper for using Unicorn in production environment, any ideas or fixes would be greatly appreciated

Cheers Uffe Hammer

Sitecore 9.1 and unicorn 4.0.7

UffeHammer avatar Jun 18 '19 11:06 UffeHammer

First of all, Transparent Sync was never designed to be in use on Production Environments. It was designed for use on local developer instances where switching in and out of feature branches makes it tedious having to sync up Unicorn with each switch.

Secondly, I need you to switch up to Unicorn 4.1.0 and try the above again. There are fixes in 4.0.8 that specifically deal with some troublesome behaviour around branch templates. It probably will not address any problems you experience, copying large chunks of content out of a tsync controlled tree - but the branch template might be.

cassidydotdk avatar Jun 23 '19 12:06 cassidydotdk

Running version 4.1.1 and the problem still popped up.

But we have now disabled Tranparent sync because we need to exclude areas.

UffeHammer avatar Sep 09 '19 07:09 UffeHammer