Open lestersimjj opened 2 years ago
True, we could have displayed a message to ask for at least one attribute to be updated, but this does not affect usage of the application.
Team chose [severity.VeryLow
]
Originally [severity.Low
]
Reason for disagreement: I disagree as this is not a cosmetic issue. This is more of an error-handling issue that was not caught by the team and the program also proceeds to say that an item has been successfully updated when there were no updates.
Describe the bug
A user is able to enter no arguments apart from the serial number and a success message is still returned. An error can be thrown instead.
To Reproduce
Expected Behavior
Please update at least one of the fields - type, cost, purchase from, purchase date.
Actual Behavior
Screenshots