Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

UIHint.CatalogNode results in blank properties window in CMS

$
0
0

Hi,

In a commerce website I'm using a content reference on my "HomePage" content type that to links to a content node in the commerce catalog.

The property looks like this:

[AllowedTypes(typeof(ChannelNode))]
[UIHint(UIHint.CatalogNode)]
[Display(Name = "Product Catalog Root Node", GroupName = Global.GroupNames.SiteSettings, Order = 151)]
public virtual ContentReference ProductCatalogRootLink { get; set; }

This property was working perfectly for version cms 10 and commerce 11, but after I upgraded the solution to version cms 11.9.0 and Commerce 12.3.1.0 it stopped working. I noticed the pages that use this content type HomePage are no longer rendering the "All Properies" view in episerver CMS (Editing mode). It is left blank. The rendering of the page on the frontend is still works as it was.

There is no error in the logs that helps finding a solution to this issue, other than the log trace than i added below:

Only when I remove the UIHintAttribute from the property the cms part starts working again and I am able to edit the properties. But obviously, I can't select a catalog content node for my field because it uses the default cms content selector to render the control.

So for some reason the [UIHint(UIHint.CatalogNode)] attribute is preventing the cms editor to render the all properties view in CMS editing mode.

Im not entirely sure, but I think it has something to do with the packaging.UI package and/or the virtualPath settings..  but then again they did nog change after the upgrade...

Also the upgrade of the packages was done correctly as fas as i can see and the database update was performed successfully.

Please help,

thnx!

Pierre

LOGS:


Viewing all articles
Browse latest Browse all 6894

Trending Articles