Comments (3)
Unfortunately there are some places during an upgrade where I'm pretty sure Sitecore disables event handling using EventDisabler
, which causes Unicorn to lose some updates. Normally I try to leave system items out of Unicorn which mitigates this, but I've had to do on-disk merges of core db items when I have all of core synced, for example.
Unicorn 2 (currently in RC7) gets around this by using a data provider instead of event handlers, so it's not capable of being bypassed. Might be worth a try. I'm using it on a production project right now and it's been pretty stable so far.
In terms of having a serialized item set that is part Unicorn, and part manually serialized I don't have any magical advice. Usually when I have a situation like that I try to keep separate trees for 'dev content' and client content (e.g. /sitecore/content/sitename/home for customer content and /sitecore/content/sitename/metadata/enumerations for dev items). This lets you run a serialize tree from the admin to reserialize the manually tracked items.
from unicorn.
In our project, we create the site skeleton for every site which has to be added. That means for example this structure
/sitecore/content/site
-> Resources
-> Configuration
-> Home Item -> Path excluded from serialization
Without that, we cannot configure the site correctly with its home item. We serialize this item manually to add it trough Sitecore Courier in an item package to the client installation. Another issue would be the right management because we cannot prepare the rights for that item in our development environment. Does do you create those items manually on the client systems?
from unicorn.
Generally we use packages to transfer content after initial launch, and occasionally manually triggered serialization to share dev content updates. It hasn't been a huge deal so far in our use cases.
In your particular case, Unicorn 2 supports ignoring fields for serialization so you could ignore the security field and keep the remaining parts of the item serialized. Since multiple configurations are supported you can have some of the security fields synced, and some not.
As to keeping the jagged tree serialized, it seems to me there are two paths to go down:
- Rely on source control and reverting to undo any bad updates (e.g. use Sitecore itself to reserialize the portions of the site that Unicorn traces using Serialize Item/Serialize Tree). Keep in mind that you can also make a copy of the old tree and use any diff tool to inspect and merge out unwanted changes in the files - then sync the unwanted changes out of Sitecore.
- Consider using v2, which should be more reliable in terms of storing items during Sitecore upgrades, as well as supporting a lot of scenarios v1 did not work that well with such as moving items across include/exclude boundaries, media files, etc.
from unicorn.
Related Issues (20)
- security Vulnerabilities in Unicorn.SharedSecret.config file HOT 1
- Dilithium + Unicorn.DataProvider.10.1 HOT 3
- Sitecore 10.1 uses Sitecore.Kernel 16.0.0.0 version which does not have attribute 'UsedImplicitlyAttribute' and unicorn uses this attribute HOT 3
- Syncing Unchecked Shared field checkbox is not performing the movement of data from SharedFields to VersionFields tables HOT 10
- Unicorn.aspx indicates Transparent Sync is enabled on configs but TS is not working and does not display in Content Editor warning HOT 4
- Unicorn.DataProvider.10.1.config role:require setting prevents the config from being loaded on XM0 HOT 2
- Error message during Unicorn Sync "The statement terminated. The maximum recursion 100 has been exhausted before statement completion." HOT 2
- Performing a sync on a configuration with Transparant Sync breaks stuff?? HOT 3
- Unicorn added <site> breaks Sitecore on ContentDelivery roles in 10.1.2 HOT 5
- DuplicateItemName exception HOT 2
- UnauthorizedAccessException with SyncSilent HOT 2
- When we are deploying the changes on the Sitecore DEV site by using Azure Paas we are getting this error HOT 1
- Unicorn RainbowCodeGeneration is not supporting Sitecore 10.2 for serializing model HOT 3
- Verb - Reserialize ERROR: The remote host closed the connection. The error code is 0x800704CD.
- Not possible to config patch the fieldFilter exclude list HOT 4
- Moved item can end up deleted on sync HOT 1
- Sync Challenge Issue
- Serialization issue in cloned items HOT 1
- *feature* Is Unicorn supporting Sitecore 10.3? HOT 3
- Moving items results in deleted items
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicorn.