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 works on contacts that dont exist #8

Open
Derekljh opened this issue Apr 5, 2024 · 0 comments
Open

edit works on contacts that dont exist #8

Derekljh opened this issue Apr 5, 2024 · 0 comments

Comments

@Derekljh
Copy link
Owner

Derekljh commented Apr 5, 2024

Description of the bug:
I decided to try and edit number 5 to test and see if an index error would occur. However, it turned out to show me a message success, with tags of the professors from SOC faculty? Not too sure where these contacts popped up from when the addressbook.json only shows me 2 contacts.

Steps to recreate the bug:

  1. Before this, I only have 2 contacts in the list in the addressbook.json file
  2. type edit -5 joe
  3. Message success: Edited Person: joe; Phone: 66017690; Email: null; Address: COM3-02-47; Tags: [Assistant_Professor][SOC_faculty]
  4. open up addressbook.json file to check

Here are some screenshots:

Before:
BugReport9.PNG

After:
BugReport9_1.PNG

BugReport9_2.PNG

This is the end of this bug report.

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