Developer forum

Forum » Ecommerce - Standard features » Bug: Sorting by ProductReplacementProduct causes YSOD

Bug: Sorting by ProductReplacementProduct causes YSOD

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

When you sort by ProductReplacementProduct in the Ecom list you get a YSOD. You then need to change or delete your settings in the PersonalSettings by removing the column SortColumnId from the record for ProductList. I believe this is caused by the enum ProductDataBaseField defining ProductReplacementProduct rather than ProductReplacementProduct but I am not sure about that.

Repro steps:

1. Click Ecom in the main menu
2. Open a shop and click a product category to display products
3. If needed, add the column Replacement Product to the product list
4. Click on the sorting icons for the column Replacement Product and choose Sort Ascending

A YSOD occurs saying that ProductReplacementProduct doesn't exist. That's correct as the column is called ProductReplacementProductId.

To clear the error, delete the settings for ProductList in PersonalSettings or update the XML.

Thanks!

Imar


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Good catch! I see the exception like that occurs on sorting by 'Loyalty Points' column as well (Ecom/PIM lists except PIM query lists). I've created tasks 8739/8740 to fix it. Thanks for the details.

BR, Oleg QA 

 

You must be logged in to post in the forum