Skip to content

no error message thrown when adding some invalid date #1154

Open
@nus-se-script

Description

@nus-se-script

no error message thrown when input date is 30-02-2023, which does not exist, into add-inflow command. user may type too fast and type 30-02-2023 instead of 03-02-2023. However the transaction that is added is 28-02-2023 (see under second view-history command in picture), which may be the wrong date the user intends to input and would not know they have input a wrong date, would be good to flag to user so they will not accidentally add a wrong date.
expected error message: invalid date
actual output: inflow is added successfully (see first command in picture)

image.png


[original: nus-cs2113-AY2324S2/pe-interim#1040] [original labels: severity.Low type.FeatureFlaw]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions