Skip to content

Bug in findMod Command: Search returns invalid command message #3

Description

@nat-ong555

I've encountered a potential problem while using the findMod command, where the search for a valid module code returns a ModuleCode invalid message

Steps to reproduce:

  1. Open nusmates.jar
  2. Add a new contact: "add n/Alice p/987654322 l/https://nusmods.com/timetable/sem-2/share?CS1101S=REC:04,TUT:01,LEC:1"
  3. find Person using findMod command: findMod cs1101s

Expected result: Alice's contact will be displayed in the successful search

Actual result: A ModuleCode invalid format message is displayed in the status message as shown below

Screenshot 2025-04-04 171330.png

Based on the user guide, the findMod command search is case-insensitive, which means that the findMod search for cs1101s should return Alice's contact. Perhaps you could standardise whether the search is case-sensitive or case-insensitive as to not confuse users.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions