3

I am assigning an Entity Composer template by Item Defintion to a Sellable Item. This shows fine in the Business Tools, but the generated Sitecore item templates have a circular dependency.

The generated template under "/sitecore/templates/Commerce/Catalog Generated/", "Drinks" in my example, contains a reference to the generated component: "/sitecore/templates/Commerce/Catalog Generated/Components/Drinks". The component has a link back to the item under "Catalog Generated", this causes a circular dependency error:

3688 14:55:33 ERROR Circular template inheritance detected in 'Drinks'
3688 14:55:33 ERROR This may be caused by explicitly assigned base id's or by the setting 'DefaultBaseTemplate' in web.config.
3688 14:55:33 ERROR Template trail: Commerce/Catalog Generated/Components/Drinks : Commerce/Catalog Generated/Components/Drinks : Commerce/Catalog Generated/Components/Drinks : ...

Did anyone have the same problem?

4
  • Is your method return Json data?
    – Jitendra
    Commented Oct 16, 2018 at 8:29
  • I too have same issue while using entity composer and do update data tempates from content editor- its creating circular reference of templates. How to avoid such issues?
    – Jyoti
    Commented Nov 2, 2018 at 8:20
  • @Jyoti no solution yet, still working with Sitecore Support on solving it.
    – Joost
    Commented Nov 2, 2018 at 11:16
  • Sitecore Support acknowledged this as bug, no solution yet.
    – Joost
    Commented Nov 26, 2018 at 10:44

1 Answer 1

3

This is registered by Sitecore as bug #276414.

The workaround is to have different Name values for the ComposerTemplate and the EntityView that it contains.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.