nus-cs2113-AY2122S1 / pe-dev-response

0 stars 0 forks source link

'Edit' command showing unexpected behaviour. #2973

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

image.png

When I type edit 1, I am asked to "Please enter one or more Stock parameters to edit separated by a single space only. done-status, name, current-price, sentiment, remarks". When I first type "name current-price" which has an extra space, then I get

image.png

When I again type the exact same command - "name current-price" which has the same number of extra space, then I get

image.png

The outputs are distinctly different.


[original: nus-cs2113-AY2122S1/pe-interim#2970] [original labels: severity.High type.FunctionalityBug]

theodorekwok commented 2 years ago

Team's Response

The user is mistaken. From the first image shown, when the user gave the first input it was for the prompt: "Please enter one or more Stock parameters to edit separated by a single space only." For the second input that user gave, it was for prompt: "Enter new name". Therefore given that the user gave 2 identical inputs for 2 different prompts it is expected that the outputs are different

Downgrading severity to Low as the user did not follow the program prompter instructions and its extremely rare for users to not understand what the prompter is asking.

Duplicate status (if any):

--