Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Dynamicweb.Ecommerce.Products.Group.Save() broken?

Dynamicweb.Ecommerce.Products.Group.Save() broken?

Hans Kloppenborg
Reply

Hi Folks,

It seems something got broken between 9.2.4 and 9.3.1 / 9.3.2 in the Save function of ecom groups. Code that worked earlier now crashed with a null reference exception.  Strangely catching the exception and ignoring it seems to be a work around, though this feels very wrong.

To test it seperately from all other code I've made a simple test page that just tries to create a new group using the api, see the attached image for the code and the exception info.

Greets Hans

group-save-exception.png

Replies

 
Nicolai Pedersen
Reply

Can you create a group using the UI?

Check your database, table EcomGroups if GroupInheritCategoryFieldsFromParent is there.

BR Nicolai

 
Hans Kloppenborg
Reply

Hello Nicolai,

Creating a group in the UI is no problem. (although the creation using the api succeeds also, it just throws an exception).

The field is there, in the screenprint the definition of the table.

Greets Hans

ecomgroups.png
 
Vladimir
Reply

Hi Hans,

Yes, I found a bug - we will fix it asap.
Sorry for inconvience


Best regards,
Vladimir

 
Nicolai Pedersen
Reply
This post has been marked as an answer

TFS#39780 out with the next 9.3 hotfix.

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Hans

The problem TFS#39780 "API Group.Save()" has now been fixed in version 9.3.4

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

Votes for this answer: 1

 

You must be logged in to post in the forum