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

Using the command "list" and "clear" and "add" and "add" with valid addressbook input has unexpected behaviour #176

Closed
nus-se-bot opened this issue Apr 5, 2019 · 1 comment

Comments

@nus-se-bot
Copy link

Describe the bug
"list" and "clear" and "add" and "add" with valid addressbook input commands results in "Listed all persons" and "Addressbook has been cleared" and "Invalid command format!
add: Adds a person to the address book. Parameters: n/NAME p/PHONE e/EMAIL a/ADDRESS [t/TAG]...
Example: add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #2-25 t/friends t/owesMoney" and "New person added: chicken Phone: 123412 Email: and@gmail.com Address: 1jasbdabs Tags:" respectively

To Reproduce
Steps to reproduce the behavior:

  1. run command "list"

To Reproduce
Steps to reproduce the behavior:

  1. run command "clear"

To Reproduce
Steps to reproduce the behavior:

  1. run command "add"

To Reproduce
Steps to reproduce the behavior:

  1. run command "add n/chicken p/123412 e/and@gmail.com a/1jasbdabs"

To Reproduce
Steps to reproduce the behavior:

  1. run command "delete"

Expected behavior
"list" an error message should have been displayed or if its an alias for "listfiles" should list all files
"clear" an error message or something related to FomoFoto
same for "add" and "add" with valid addressbook input and "delete"

Screenshots
image

image

image

image

image

image


Reported by: @Qing-Yuan
Severity: Low

[original: nus-cs2103-AY1819S2/pe-dry-run#501]

@ghost
Copy link

ghost commented Apr 10, 2019

Fixed with #195. All aformentioned commands have been removed.

@ghost ghost closed this as completed Apr 10, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant