jjchee77 / pe

0 stars 0 forks source link

Dummy bug report #1

Closed jjchee77 closed 7 months ago

jjchee77 commented 7 months ago

Description

When using the find project command to search for projects with a specific keyword, such as duke, the application incorrectly prints '2 persons listed!' instead '2 projects listed!'. This behaviour is unexpected and does not provide users with the correct print message.

Steps to Reproduce

  1. Open the application.
  2. Add a project by entering 'add project Duke'.
  3. Add another project by entering 'add project Duke chatbot`.
  4. Enter the command find project duke.
  5. Observe the output provided by the application.

Expected

When using the find project command with a keyword, such as duke, the application should return a list of projects containing that keyword in their names. It should print out '2 projects listed!'

Actual

The application correctly returns a list of projects but it prints out '2 persons listed!'

image.png

Note

This discrepancy in the print message can lead to confusion for users, as it provides incorrect information about the search results. Users may mistakenly believe that the search returned persons instead of projects. Correcting the print message to accurately reflect the search results will enhance the clarity and usability of the find project command.