omarzina / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Updating orders from admin with duplicate email fails #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
= What steps will reproduce the problem?
1. Ensure 'store_require_login' is set to false
2. Create an order
3. Try to update an existing order from the admin side with the same e-mail
address with the order you just placed.

= What is the expected output? What do you see instead?

Expected that the order should update properly. Instead an error is thrown
and page doesn't display.

The main issue is that the e-mail addy isn't getting saved because it's
failing the duplicate validation in OrderUser.

Secondary to that, the @shipping_address variable isn't getting filled in.

Original issue reported on code.google.com by subim...@gmail.com on 11 Feb 2009 at 7:06

GoogleCodeExporter commented 8 years ago
Unsure if we should place the restriction on updating from admin at all...

Original comment by subim...@gmail.com on 11 Feb 2009 at 7:28

GoogleCodeExporter commented 8 years ago
Quick fixed in r178 - but unsure if that's the ultimate solution desired.

Original comment by subim...@gmail.com on 11 Feb 2009 at 7:29