RWS / dxa-content-management

SDL Digital Experience Accelerator CM-side framework (.NET Template Building Blocks)
Apache License 2.0
6 stars 18 forks source link

DXA Resolver fails silently when adding items with circular references #26

Closed kunalshetye closed 2 years ago

kunalshetye commented 6 years ago

I've already fixed the issue and the pull request for this fix can be found here: https://github.com/sdl/dxa-content-management/pull/25

_DXA Custom Resolver initialised with recurse depth -1 DXA Custom Resolver started... Loading global app data: Found configuration for custom resolver in global app data. Attempting to parse. Found configuration using XElement appData type. xml=1</dcr:RecurseDepth> Found RecurseDepth value of '1'. Using _maxRecurseDepth=1 Gathering linked components for component [MASTER] Embargo_ABC Gathering linked components for component [MASTER] Embargo_DEF Gathering linked components for component [MASTER] style-sheet.css Gathering linked components for component remove-spacing-top.css Gathering linked components for component remove-spacing-bottom.css Gathering linked components for component remove-spacing.css Gathering linked components for component remove-tint.css Gathering linked components for component reduce-tint.css Gathering linked components for component [TRANSLATE] Code_In Page Navigation My Product Gathering linked components for component [TRANSLATE] TextFor My Product.

Stacktrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at Sdl.Web.DXAResolver.Resolver.ResolveItem(IdentifiableObject item, ComponentTemplate template, HashSet1 resolved, Int32 recurseLevel) at Sdl.Web.DXAResolver.Resolver.Resolve(IdentifiableObject item, ResolveInstruction instruction, PublishContext context, ISet`1 resolvedItems)

rpannekoek commented 5 years ago

Internal Issue ID (for tracking purposes): CRQ-12800