Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Field EcomOrderCustomerEAN in cart results in .Net error

Field EcomOrderCustomerEAN in cart results in .Net error

Lars Larsen
Lars Larsen
Reply

Hi

When I have the field "EcomOrderCustomerEAN" in my cart (OneStepCheckout.cshtml) and submits the page, it results in this .Net error:

System.NullReferenceException: Object reference not set to an instance of an object. at Dynamicweb.Ecommerce.Cart.Frontend.SetPostValues(Order order, Boolean isUserDetailsRefreshed) at Dynamicweb.Ecommerce.Cart.Frontend.GetContent()

The field in the form is rendered by this markup:

<div class="form-group pull-right">
            <label class="control-label" for="EcomOrderCustomerEAN">@Translate("EAN", "EAN")</label>
            <input type="text" style="width: 160px" class="form-control" name="EcomOrderCustomerEAN" id="EcomOrderCustomerEAN" value="@GetString("Ecom:Order.Customer.EAN")" />
</div>

Running DW v9.2.9


Replies

 
Lars Larsen
Lars Larsen
Reply

Bump!

Still gets the error above. Now running DW v9.2.11

 
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Lars,

The bug is reproduced on out test environment as well, I've submitted new TFS 33546 will be fixed on next hotfix/release, thanks.

BR, Oleg QA 

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Lars

The problem TFS#33546 "Field EcomOrderCustomerEAN in cart results in .Net error" has now been fixed in version 9.2.14

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

 
Lars Larsen
Lars Larsen
Reply

Hi Kristian

Great thanks smiley

 

You must be logged in to post in the forum