Monday, May 10, 2021

Sitecore 10 - SCS (Sitecore content Serialization) - please remove the overlapping includes or use rules to exclude the item.

Recently, I got the below error during the content serialization, Here is how I fixed it.

Error Details

 [master] [Batch 1] [Preprocess] [Fetch created item data] The item /sitecore/content/Site/XXX/Presentation/Page Designs/Dev (bfece879-7ae8-4588-874f-430a7000b9b0) is contained multiple modules, please remove the overlapping includes or use rules to exclude the item.

I ran the sitecore ser validate --fix and that didn't resolve the issue.


I check the confirmation and found a similar path was used to create the child item and it's basically a duplicate item.

Added Previously -

"path": "/Presentation/Partial Designs", "scope": "ItemAndDescendants", "allowedPushOperations": "CreateOnly"

Recently Added -

{

                "name": "XXX",

                "path": "/sitecore/content/Tenant/Site/Presentation/Partial Designs/XXX"

            }

To fix it, I have to remove either the new one or the old configuration.




No comments:

Post a Comment