Issue 65: PATCH Creating a shipping variation without price gives an ActiveRecord::StatementInvalid in Admin/preferencesController#save_shipping
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by edmundo...@gmail.com, Mar 24, 2008
What steps will reproduce the problem?
1. Go to administration interface.
2. Add a shipping variation to a any shipping type and erase the price.
3. Try to save.

What is the expected output? What do you see instead?
It should at least not break. An error message.

What version of the product are you using? On what operating system?
trunk. Ubuntu 7.04

Please provide any additional information below.
Again lack of validation and error messages when using Ajax, I don't think
this is the best approach but I will just make it not break and accept
empty min and max weights, as it was already.
 
empty_shipping_weight_price.patch
648 bytes   View   Download
Mar 24, 2008
#1 edmundo...@gmail.com
Oops, I commented the validations to copy the error and fill the issue. Here it goes
again uncommented.
empty_shipping_weight_price.patch
646 bytes   View   Download
Jun 14, 2008
Project Member #2 subim...@gmail.com
Thanks, fixed r90
Jun 15, 2008
Project Member #3 subim...@gmail.com
(No comment was entered for this change.)
Status: Fixed