Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

Episerver Commerce category where currenContent is null

$
0
0

So, I have this strange issue.

We have upgraded from Episerver Commerce 9 to Episerver Commerce 12.17.2.

So, most of the catalog routing works fine, except one.

The structure is like this:

Products
-- Category A
---- SubCategory A
---- SubCategory B
---- SubCategory C
-- Category B
---- SubCategory D
---- SubCategory E
-- Category C
...and so on.


The complete url for 'Category A' is 'http://website.no/products/category-a/'. This ends up in the right controller, but the currentContent object (NodeContent) is null, so it gets populated by default values.

The other categories, for example 'Category B' has the same url structure (http://website.no/products/categoryb/' ends up in the right controller with the currentContent object populated.

The other variant of 'Category A', that works, is 'http://website.no/products/category-a'. Ends up in the right controller with the currentContent object populated.
The main difference here is the trailing '/'

Also any sub categories of 'Category A', or products, works fine.

Any suggestions will help. 


Viewing all articles
Browse latest Browse all 8020

Trending Articles