Open maiyasaliha opened 4 months ago
Thank you raising this genuine concern. However, similar to issue 346 of which this is a duplicate of, this is a documentation bug on our part that says that substrings of names are allowed. However, we only intended keywords to be searched using the find command as can be seen in the command description, command format and app error message itself. As such search doe betsy will return both results and the way to resolve this is exactly the same as resolving issue 346. Changing our user guide to accept only keywords instead of substrings would resolve this duplicate issue.
[The team marked this bug as a duplicate of the following bug]
Adding various duplicate names to the person leads to find command not listing down the patients names
Upon adding a couple of patients with the same name but different NRIC.
using Da as the keyword for finding names.
I am met with listing of 0 persons.
This could be the user not knowing if the keyword means that it has to be "David" in this scenario, leading to a misinterpretation
[original: nus-cs2103-AY2324S2/pe-interim#460] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
Thank you for raising this. We acknowledge this is an issue, however, this is just a typo in the user guide and not a functionality bug in our programme. The error message in the actual MediCLI system states that
find: Finds all persons whose names contain any of the specified keywords (case-insensitive) and displays them as a list with index numbers.
(Screenshot attached below). The line you referenced was a typo as the overall description of the command in the user guide also states that it only accepts keywords.Screenshot:
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
Given that half words are supposed to be matched, this following command does not find betsy and doe correctly
Example: find doe bet
only returns contacts with name Doe and not Betsy
This might be problematic as users are lead to think that there are no contacts matching bet.