somlea-george / sutekishop

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

Product can save with no default size #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new product type with no size information
2. Attempt to view it
3. Application error thor on line 57 Suteki.Shop\models\Products.cs

What is the expected output? What do you see instead?
Expect validation on the creation screen. instead get an eror when viewing
the product: "Product has no default size"

What version of the product are you using? On what operating system?
Current release (288), OS = vista 64

Please provide any additional information below.

Original issue reported on code.google.com by rhysevan...@gmail.com on 27 Apr 2009 at 12:49

GoogleCodeExporter commented 8 years ago
Possibly have nullable object (ie N/A) if validation is not wanted?

Original comment by rhysevan...@gmail.com on 27 Apr 2009 at 12:51

GoogleCodeExporter commented 8 years ago
I get this error as well if I don't attach an image to a product. Ah, input 
validation.

Original comment by grzyweasel@gmail.com on 4 May 2009 at 5:28

GoogleCodeExporter commented 8 years ago
Fixed in r318

Original comment by mikehad...@googlemail.com on 19 May 2009 at 12:41

GoogleCodeExporter commented 8 years ago

Original comment by mikehad...@googlemail.com on 19 May 2009 at 12:42