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

[PE-D] [FEATURE] search command does not work #66

Open
nus-pe-script opened this issue Apr 1, 2022 · 0 comments
Open

[PE-D] [FEATURE] search command does not work #66

nus-pe-script opened this issue Apr 1, 2022 · 0 comments

Comments

@nus-pe-script
Copy link

Describe the bug
search command accepts input as stated in User Guide, but hangs and does not stop until Ctrl + C is used to terminate the programme.

To Reproduce
Steps to reproduce the behavior:

  1. Open a command window
  2. Run the JAR file in the appropriate file location using "java -jar tp.main.jar"
  3. Type "add doctor /id jqwojq /n 6464 /ph kajsdhkahdkjshd /e oqwjoqdjoqiwjd" as input
  4. Type "add doctor /id 1 /n Jasper /ph 0192380983 /e [email protected]" as input
  5. Type "add doctor /id 1 /n Jasper /ph 0192380983 /e [email protected]" as input
  6. Type "search doctor 1" as input to search for a doctor
  7. Nothing will happen. Press Ctrl + C to end the programme
  8. See error

Expected behavior
The input should be accepted by the programme. The programme should not hang.

Screenshots
image.png

Additional context
The search input was directly copied from the User Guide.


Labels: severity.High type.FeatureFlaw
original: quitejasper/ped#6

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