nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Unable To Unassign Product From Supplier #2445

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

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

  1. Add product: add_product n/ck
  2. Assign: assign pr/ck su/Fresh Farms ltd
  3. Unassign: unassign pr/ck

Screenshots

image.png

Screenshot following example above:

image.png

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]

yu7ong commented 1 week ago

Team's Response

The exact same bug reported as #3710

Duplicate status (if any):

Duplicate of #3710