nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

When /s (parameter) /s is inputted, the /s field is left empty and allowed to be empty even though the User Guide states that either /s, /d or /p must have a non-empty input #1287

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

image.png

As seen from the image, when "/s (parameter) /s" is inputted, the input is not accepted even though the s field has a parameter. Only when "/s (parameter) /s (parameter)" is inputted does the s field show the parameter inputted.


[original: nus-cs2113-AY2021S2/pe-interim#1287] [original labels: severity.Low type.FeatureFlaw]

fsgmhoward commented 3 years ago

Team's Response

In our user guide, we have mentioned that when two parameters with the same key entered, only the last one will be taken:

image.png

So since we take the value of the last one which is empty, our program will reject it. This is expected behaviour.

Duplicate status (if any):

Duplicate of #247