Wrong evaluation of min and max in editQuantity
The unit has not been taken into account. The following example shows that the value is in a correct interval, but returns an error.

The schema says the value should be between 0 (s) and 10 (s), but the raw input with no respect to the unit is checked.
Edited by Mohammad Nakhaee