nus-cs2103-AY2122S2 / pe-dev-response

0 stars 0 forks source link

Add Duplicate product limitations incorrect #2830

Open nus-pe-bot opened 2 years ago

nus-pe-bot commented 2 years ago

Note from the teaching team: This bug was reported during the Part II (Evaluating Documents) stage of the PE. You may reject this bug if it is not related to the quality of documentation.


To replicate: Start with empty iBook. Enter add n:Maggie Mee p:3.00 c:noodles d:curry flavour dr:25 ds:10, and then enter add n:Maggie Mee p:3.33 c:.

Current result: Product not added, error message "This product already exists in the ibook".

Intended result: UG states that "The new product added must not be of the same NAME and CATEGORY as any existing products in iBook." However, the above added product only has same name, not category, which is Miscellaneous. Thus should be accepted as valid input but is not, rejected as duplicate.


[original: nus-cs2103-AY2122S2/pe-interim#2880] [original labels: type.DocumentationBug severity.High]

DavidTan0527 commented 2 years ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #2920