Closed OrangeJuice7 closed 5 years ago
Hi, thanks for reviewing our app. Could you elaborate on the following points with the expected vs actual behaviour and steps to reproduce?
- mark show and mark find are successful, adding people with show and find in their names respectively to default. I don't think this is intended behaviour.
- The mark find sub-command ignores the KEYWORD parameter.
Could you elaborate on the following points with the expected vs actual behaviour and steps to reproduce?
- mark show and mark find are successful, adding people with show and find in their names respectively to default. I don't think this is intended behaviour.
Steps to reproduce:
add n/find p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney
in the command box.mark find
in the command box.Successfully added 1 people to default
(the person whose name is "find"). I expected it to be an invalid command, giving the same output as just typing find
in the command box would.Similar output is given for the mark show
command.
- The mark find sub-command ignores the KEYWORD parameter.
Sorry about this. I've tested it again, and the command treats the KEYWORD
parameter as additional keywords to find. The command doesn't ignore it.
Continuing on from the above steps:
add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/friends t/owesMoney
in the command box.mark find John
in the command box.Successfully added 2 people to default
. I expected that only John Doe would be added, but both John Doe and "find" are added.Hope this has been helpful to you.
As a suggestion, may I recommend that the mark
command be split into several commands? e.g. findmark
, showmarks
...
I think this option would make it easier for you to enforce the structure for each sub-function of the mark command.
I didn't have time to check the
mark
command thoroughly, but here are the issues I have found so far:mark show
andmark find
are successful, adding people withshow
andfind
in their names respectively todefault
. I don't think this is intended behaviour.mark find
sub-command ignores theKEYWORD
parameter.^&
is a valid name.mark m/ find t/owesMoney
does not do anything, not even update the display box.