The same error occurs when trying to browse commerce nodes from global menu (Commerce -> Catalog). Browsing the catalog inside Commerce Manager works without errors.
The problem is related to registering a HierarchicalCatalogPartialRouter in order to use a node as root for catalog routing - ref Jonas Blog post (last section):
If I go back to the default way of registering the route:
the catalog loads as expected.
Anyone that have inputs to this one?
This might be too late for you, but I'll add it here for future visitors.
The error was caused as the routesegment of that node/entry is missing. Check your CatalogItemSeo table, the row might be missing or the RouteSegment column is null. Adding the information there (you can simple use the code as the routesegment) should solve the problem.
This problem is related to an upgraded site running Commece release 7.8.4.
I have a cms page that have property type defined like this:
When clicking on the catalog node property, the dialog opens and I can see the root catalog node. When I click to exand the children nodes, the following error is found in the console:
GET https://mycommecesite/episerver/cms/Stores/contentstructure/…s.nodecontentbase&allLanguages=true&sort()&dojo.preventCache=1402991042572 500 (Internal Server Error)
And here is the stack trace: