lestersimjj / pe

0 stars 0 forks source link

Error Message for Update Command #3

Open lestersimjj opened 2 years ago

lestersimjj commented 2 years ago

Describe the bug
Tried to update an item whose serial number is not in current inventory and error was raised. Will be good if the error message tells the user why the command entered was incorrect.

To Reproduce

add n/`SpeakerB` s/`S1404115ASF` t/`Speaker` c/`1000` pf/`Loud_Technologies` pd/`2022-02-23`

update s/`S14115ASF` c/`1200` pf/`AVLFX`

Expected Behavior
Error. Serial key was not found in inventory. Please try a different key.

Actual Behavior
Equipment was not updated successfully.

Screenshots

image.png

nus-se-script commented 2 years ago

Your response not required for this bug as the team has accepted the bug as it is.