"Amount too high" warning can result in negative items
The checks to use the max/min limit if the amount is outside the range can create invalid values in certain situations. The Ork Boyz attached to #209 show the behaviour most.
If a unit of 30 is made with a selection of 2 of one weapon and 1 of another, then the unit is dropped to 10-19 models (only allowed one weapon) editing the "1" selection will suggest an amount of -1 (current limit - amount taken not including item = 1 - 2 = -1). This should show "0" and make the user remove the item instead of showing a negative. The fact that the user is still over the limit would then be picked up by validation checks, once implemented.
Change History (5)
Owner: |
set to ibboard
|
Status: |
confirmed →
accepted
|
Resolution: |
→ fixed
|
Status: |
accepted →
closed
|
Resolution: |
fixed →
released
|
(In r403) Fixes #218: "Amount too high" warning can result in negative items