Open hanchingyong opened 4 years ago
Design philosophy: Inventory manager is designed to be used in tandem with real time, real world operations (e.g. checkout counter). 0 quantity goods were not designed for because they would not be valid inputs in the real world.
In the case of accidental inputs, the undo
command is very readily available, and would have to be used anyway regardless of the typo.
Downgrading of severity to low:
As mentioned in the bug report, in essence no deal has been made. It does not affect normal usage at all, and typing undo
constitutes a minor inconvenience. Low severity by definition.
Featureflaw -> Functionality Bug: buying 0 quantity is the feature not working as expected (functionality bug definition). Feature is still complete and there is no missing functionality. (cannot classify as featureflaw)
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: [replace this with your reason]
If 0 good is bought, perhaps an error can be thrown, or at the very least, not allow the inventory to be updated with 0 amount - i would assume the inventory list refers to goods that have at least been in the company and then sold out.