Developer forum

Forum » Development » Strange error, can anyone recognise this one?

Strange error, can anyone recognise this one?

Dmitrij Jazel
Reply

Hi guys,

Have anyone seen this error before?

Users are repording to encounter this Error on ocasional cases.

System.ArgumentException: Parameter 'idList' contains no IDs at Dynamicweb.eCommerce.Products.Product.GetSqlConditionPartForIDs(String idList) at Dynamicweb.eCommerce.Products.Product.GetProductsByProductIDs(String[] prodIDs, Boolean doRefactor, String languageID, Boolean bulkFill, Boolean useAssortments) at Dynamicweb.eCommerce.Cart.Frontend.RemoveNonExistingProductsFromCart(Order order) at Dynamicweb.eCommerce.Cart.Frontend.GetContent()

My theory: Live Price provider probably fails to retrieve prices sometimes, this causes something that breaks the shopping cart - and than users are presented with THIS notUserfriendly error message. But I am not sure if this has to do anything with PriceProvider.

None of our Custom Codes does any of this, nor able to generate this kind of error.

Ideas?

 

/Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply

It is when you have an empty order - an order with no orderlines. Which should not be possible... You have something that could remove the orderlines?

 
Dmitrij Jazel
Reply

Hi Nicolai,

Well than, appearently it is... :-)

All we are using, is LivePrice provider, for the most part + Old "Order complete" notification subscriber and some code that extends that method.

But we are not tweaking with the actual order, we just read the data from it...

Thanks for the hints, will try looking for something that might lead to it.

Regarding your question, asnswer is: No. But as I mentioned, Order complete notification subscriber just reads, wraps, and sends data to ERP.

During its "wrapping" stage, it does rely on price provider.

But thanks for the tip so far...

 

/Dmitrij

 
Nicolai Høeg Pedersen
Reply

I've created a bug against the issue, so from 8.7 at least it will not throw an exception.

 
Dmitrij Jazel
Reply

Well that sounds great :) thanks for that.

But what will it do instead? I mean that customers got their shopping cart "corrupted" as far as I understood, and from what I saw. But this will somehow manage that, I guess?

 

/Dmitrij

 

You must be logged in to post in the forum