Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » OrderLineType stored differently

OrderLineType stored differently

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi guys, 

I think we ran into a major issue with the way order lines are stored in the database, In the past, OrderLine.Type was an enum dressed as an integer pretending to be a string or so, but the bottom line was that in the database I would get 1, 2,3 etc. Now with a recent 9.4 change, it appears to be a proper enum type (thank you for that). However, I now end up with order lines types in the database that contain the word Product, Tax and so on, and not the underlying value of 1, 2 3 etc. That completely breaks integrations and custom code that assumed these values were numeric.

Is this a known issue? By design or a bug? In the latter case: help!!

Imar


Replies

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Imar,

I have sent this problem to QA for replication, but if the behavior is as you describe, it's a bug. 

But hopefully we'll hear more from QA

 

Best regards,

Steffen

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi all,

The bug is reproduced in fact. New TFS 48424 has been created, will be fixed on further 94 hotfix/release. Thanks for observing.

BR, Oleg QA

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Thanks guys!

 
Nicolai Pedersen
Reply

This one is released on myet, TFS#48424, https://www.myget.org/feed/dynamicweb-packages/package/nuget/Dynamicweb.Ecommerce, version 1.4.16

BR Nicolai

 

You must be logged in to post in the forum