rizemon/pe

Entering empty description causes amount to be recognized as both amount and description for `add_in`

Opened this issue · 1 comments

image.png

Input: add_in d/ a/456 c/Others

Likewise, the DESCRIPTION must be non-empty, but specifying an empty description causes the a/ flag and its value to be recognized as the description.

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

When description is left empty. 'a/0.05' is wrongly made description.

image.png
When description is left empty. 'a/0.05' is wrongly made description without any error message that description was left blank. Could end up with a user not knowing that their entry was invalid.


[original: nus-cs2113-AY2122S1/pe-interim#1004] [original labels: severity.Medium type.FunctionalityBug]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Good catch!

Items for the Tester to Verify

❓ Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

  • I disagree

Reason for disagreement: [replace this with your explanation]