yongmingyang / pe

0 stars 0 forks source link

Items with same tags (case different), are allowed to be added #2

Open yongmingyang opened 3 years ago

yongmingyang commented 3 years ago

Steps to recreate: 1) Open jar file 2) type in following command:

add-i n/water t/Beverage q/1000 t/beverage

Expected: Item added to inventory. Stock is now:

Name: WATER Quantity: 3000 Supplier: NO SUPPLIER Tags: Beverage

or

Expected: Item added to inventory. Stock is now:

Name: WATER Quantity: 3000 Supplier: NO SUPPLIER Tags: beverage

Actual: image.png

I think this is a bug because adding 2 similar tags with the same case automatically denotes it as the same tag. However, 2 identical words with different cases are taken as different.

nus-se-bot commented 3 years ago

Team's Response

Text are unique by char. Inherited from AB3 as well

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]