This is an old issue, and it was resolved in our old 8.2 instance by a prior dev but after upgrading to 9.0 the issue has reappeared. When a user copies or duplicates an item, all of the local components that are children of that item are copied, but the datasources of the renderings on the copied parent item all point to the original local components rather than the new ones.
For example:
- Duplicate /sitecore/content/Example with name Example2
- Example2 is successfully created, as well as /sitecore/content/Example2/local components and /sitecore/content/Example2/local components/RichText
- However, the Rich Text rendering on Example2 has a datasource of /sitecore/content/Example/local components/RichText instead of /sitecore/content/Example2/local components/RichText
I've been trying to find solutions but all of the posts I've found are really old and reference blogs that no longer seem to exist. Is there a patch for this, or any current blogs that explain how to fix this?