Posted on 24/06/2014 13:45:23
We did the upgrade on the production website, but now a different error occurs:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at Dynamicweb.eCommerce.Frontend.Renderer.RenderVariantCombinations(Product product, Template ParentTemplate, String LoopName)
at Dynamicweb.eCommerce.Frontend.Renderer.RenderProduct(Product Product, Boolean ExtendedProperties, Template Template, Int32 loopCounter, Boolean renderRelated, String productURL, Int32 quantity, Int32 wishListID, Boolean renderPublicList)
at Dynamicweb.eCommerce.Frontend.Renderer.RenderProducts(ProductCollection Products, Template ParentTemplate, String LoopName, Int32 LoopCounter, Boolean renderRelatedProducts, Boolean renderRelatedLists)
at Dynamicweb.eCommerce.Frontend.Renderer.RenderProducts(ProductCollection Products, Template ParentTemplate)
at Dynamicweb.eCommerce.Frontend.Renderer.RenderProducts(ProductCollection Products)
at Dynamicweb.eCommerce.Frontend.Frontend.ListProducts(ProductCollection products, String groupsIdent, Boolean hasBeenSorted)
at Dynamicweb.eCommerce.Frontend.Frontend.List(String groups)
at Dynamicweb.eCommerce.Frontend.Frontend.EcomRender()
at Dynamicweb.eCommerce.Frontend.Frontend.GetContent()
at Dynamicweb.Frontend.Content.getModule(DataRow& ParagraphRow)
We're running an import, and when the import is done, the index is updated. This error persists throught the index update, and as soon as the update is done, this error is gone.
What's causing it?
BR.
Lars