yongmingyang / pe

0 stars 0 forks source link

Unable to add items with special characters in Supplier #1

Open yongmingyang opened 3 years ago

yongmingyang commented 3 years ago

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

add-i q/500 n/food s/sheng shion/g

Expected: Item added to inventory. Stock is now:

Name: FOOD Quantity: 1500 Supplier: SHENG SHION/G Tags:

Actual:

image.png

According to error message, supplier can take any values. Therefore, this should mean that supplier of name with special characters should be accepted. This could impact other companies which possible have special characters in the name.

nus-se-bot commented 3 years ago

Team's Response

No response provided.

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: [replace this with your reason]