After assigning a product to a supplier, I'm not able to unassign the product (it given an error). The only exception was the first unassign I did, that is the only time it worked.
Steps To Replicate
Add product: add_product n/ck
Assign: assign pr/ck su/Fresh Farms ltd
Unassign: unassign pr/ck
Screenshots
Screenshot following example above:
The images clearly show product assigned to supplier "Fresh Farms Ltd", but the error message says otherwise.
Expected
Product should have been unassigned.
Actual
Error given/shown.
Reason For Severity
Unassigning is a basic command, and many users will use it frequently (if they have changed suppliers, or they had a mistake in the initial assignment). The fact that unassigning does not work as expected will be of major inconvenience to users.
Description
After assigning a product to a supplier, I'm not able to unassign the product (it given an error). The only exception was the first unassign I did, that is the only time it worked.
Steps To Replicate
add_product n/ck
assign pr/ck su/Fresh Farms ltd
unassign pr/ck
Screenshots
Screenshot following example above:
The images clearly show product assigned to supplier "Fresh Farms Ltd", but the error message says otherwise.
Expected
Product should have been unassigned.
Actual
Error given/shown.
Reason For Severity
Unassigning is a basic command, and many users will use it frequently (if they have changed suppliers, or they had a mistake in the initial assignment). The fact that unassigning does not work as expected will be of major inconvenience to users.
[original: nus-cs2103-AY2425S1/pe-interim#3327] [original labels: severity.High type.FunctionalityBug]