Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
This was registered as a bug and was fixed in Commerce. It's likely to be released in Commerce 9.22 - so I would suggest you to upgrade to that version when it comes out.
Regards,
/Q
Hi,
We have an initialization module which makes the following call to configure the commerce routing:
But it's blowing up with the following error:
[ContentNotFoundException: Content with id -1073741823__CatalogContent was not found] EPiServer.Core.DefaultContentLoader.Get(ContentReference contentLink, LoaderOptions loaderOptions) +622 EPiServer.Commerce.Routing.CatalogRouteHelper.MapDefaultHierarchialRouter(RouteCollection routes, Func`1 startingPoint, Boolean enableOutgoingSeoUri) +289 Braun.Web.Business.Initialization.FindCommerceInitializationModule.Initialize(InitializationEngine context) in C:\Dev\Git\braun\src\Braun.Web\Business\Initialization\FindCommerceInitializationModule.cs:55 EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +56 EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +348
This suggests that the content loader isn't yet available, however the init module already has a module dependency:
[InitializableModule] [ModuleDependency(typeof(EPiServer.Web.InitializationModule))] public class FindCommerceInitializationModule : IConfigurableModule { }
Any idea what could be going wrong?
Thanks