Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate items with same ID shown in content tree once unicorn project is published even without running sync #406

Open
dminclude opened this issue Mar 10, 2021 · 3 comments

Comments

@dminclude
Copy link

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

image

@cassidydotdk
Copy link
Member

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

@StevenLangeraert
Copy link

StevenLangeraert commented Jul 26, 2022

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 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/

@cassidydotdk
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants