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

Incorrect error message on add #8

Open
manu2002g opened this issue Apr 1, 2022 · 0 comments
Open

Incorrect error message on add #8

manu2002g opened this issue Apr 1, 2022 · 0 comments

Comments

@manu2002g
Copy link
Owner

manu2002g commented Apr 1, 2022

When the add command is run with all the compulsory fields and the idt field, the error message that is thrown corresponds to the last field instead of telling the user that the idt field is invalid.

Eg: find j/engineer p/1244 a/aa e/[email protected] n/name idt/02-02-2022 04:30 produces the error message
"Names should only contain alphanumeric characters and spaces, and it should not be blank"

Screenshot 2022-04-01 at 5.44.26 PM.png

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

1 participant