Skip to content

Error message for misuse of tag is not specific enough. #3

@yooplo

Description

@yooplo

Expected: Tags with multiple words inputted should have a different error message shown that tells the user that only one word is allowed.

Actual: the error message is "Tag names should be alphanumeric".

image.png

To reproduce:
add n/Betsy Crowe t/friend t/CCA captain e/[email protected] a/Newgate Prison p/123456789 r/mUdder m/ceg

As shown, the invalid tag I have inputted is t/CCA captian. While I acknowledge that in the DG, it was mentioned that the tags can only be of one word, but here, my tag name is only consisting of alphanumeric characters, which is in compliance with the error message shown.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions