Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Edit' command showing unexpected behaviour. #2973

Open
nus-se-bot opened this issue Nov 12, 2021 · 1 comment
Open

'Edit' command showing unexpected behaviour. #2973

nus-se-bot opened this issue Nov 12, 2021 · 1 comment

Comments

@nus-se-bot
Copy link

nus-se-bot commented Nov 12, 2021

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
Copy link
Contributor

theodorekwok commented Nov 13, 2021

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):

--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants