Skip to content

Incorrect Handling of Multiple same Prefixes #3

@RobotWizzard

Description

@RobotWizzard

The user can enter multiple same prefixes for some commands (addInsurance, deleteInsurance, addClaim, deleteClaim, closeClaim), and they would seem to work, but only the value of the last repeated prefix is taken into account. For example,

addInsurance 1 iid/0 iid/1

will add the Travel Insurance Plan to the first client in the list. This behavior should be prevented like the add and edit commands.


Output of addInsurance 1 iid/0 iid/1:
image.png


Output of edit 1 n/Alex n/Yeoh:
image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions