Apparently, when you run an activity command and include a participant prefix with empty value, the application will have an uncaught exception that prevents the command from being run, and shows no error. The following command could cause this bug previously:
activity t/Test p/
Turns out NameContainsKeywordsPredicate bugs out when you pass in an empty string.
Change
Fixed ActivityCommandParser to return a catchable exception, and show the appropriate warning message.
Context
Apparently, when you run an activity command and include a participant prefix with empty value, the application will have an uncaught exception that prevents the command from being run, and shows no error. The following command could cause this bug previously:
activity t/Test p/
Turns outNameContainsKeywordsPredicate
bugs out when you pass in an empty string.Change
ActivityCommandParser
to return a catchable exception, and show the appropriate warning message.