Unicorn
Unicorn copied to clipboard
Duplicate items with same ID shown in content tree once unicorn project is published even without running sync
Setting up Sitecore 10 with https://doc.sitecore.com/developers/100/developer-tools/en/walkthrough--using-the-getting-started-template.html
Setup Unicorn foundation project with Unicorn 4.1.3.
Duplcate items are shown in content tree with even for items which are not under unicorn. Duplicate items have same IDs
Upgrade to https://github.com/SitecoreUnicorn/Unicorn/releases/tag/4.1.4
Make sure you reset all your config files (which you must have modified to get it running in 10.1 in the first place) and follow the instructions in the readme. https://github.com/SitecoreUnicorn/Unicorn/blob/master/Build/Unicorn.nuget/readme.txt
We had a similar issue, upgrading a SC9 project to v SC10.2, using unicorn. Basicly, Unicorn wasn't the cause of the issue, but a custom database patch that was applied on the core, master and web database. More specifically, the a <dataProviders hint="list:AddDataProvider"> part of the database patches where the culprit. We removed the "dataProvider" from the patch and the duplicate items where not shown anymore in the content tree.
Here is an article describing the topic : https://www.koenheye.be/sitecore-101-upgrading-code-check-dataprovider/
For 10.2 you need to be using the 10.x specific DataProvider config, not the one that is enabled by default on a box Unicorn installation