Andy123qq4 / pe

0 stars 0 forks source link

grocery add/exp: invalid data input is accepted and auto corrected without agreement #8

Open Andy123qq4 opened 6 months ago

Andy123qq4 commented 6 months ago

Step: input an invalid date

Output: the program auto adjust the invalid date to the closest date, image.png

Expected: ask the user to input again

nus-pe-bot commented 6 months ago

Team's Response

Minor inconvenience, sorry

The 'Original' Bug

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

Lack of warning or exception handling for invalid dates when updating expiry date

Input typed in

exp kailan d/2028-02-31

expected output

exception handling

actual output

input accepted. Date automatically changed to the correct one since there is no feb 31, but then there should be a warning to inform user

Screenshots

image.png


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

Their Response to the 'Original' Bug

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

Minor inconvenience, sorry

Items for the Tester to Verify

:question: Issue duplicate status

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

Reason for disagreement: [replace this with your explanation]


## :question: Issue type Team chose [`type.FeatureFlaw`] Originally [`type.FunctionalityBug`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]
## :question: Issue severity Team chose [`severity.VeryLow`] Originally [`severity.Medium`] - [x] I disagree **Reason for disagreement:** It is one bug that shouldn't be very low. this requires user do a repetitive date setting.