Open 1simjustin opened 2 months ago
This is a duplicate of issue of 1069 because both update and new use the same method to parse dates.
[The team marked this bug as a duplicate of the following bug]
Allows expired items to be added to inventory
Does not make much logical sense to add an item which is expired into the inventory. The expired date could be due to the user inputing a the wrong date but the app should account for invalid dates.
[original: nus-cs2113-AY2324S2/pe-interim#963] [original labels: severity.Low type.FeatureFlaw]
[This is the team's response to the above 'original' bug]
As stated in our FAQ, we want to provide our users with more flexibility.
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]
Users are able to set an expiry date to be one that has passed but this does not make sense given that it is meant for a supermarket to track their inventory - no supermarket should be stocking expired items. Understandably there is a feature to detect expired items but being able to set it to expired would be erroneous.