nus-cs2113-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Having a meal in the same format as a water log prevents the user from deleting the water log #772

Open nus-pe-bot opened 5 months ago

nus-pe-bot commented 5 months ago

Description: When a user adds a meal log to the same format as a water log (e.g. meal name: 100 ml), and has a 100ml water log, the user is unable to delete the water log unless they first delete the meal log.

Steps to Reproduce:

  1. Add a meal log in the format of a water log: log m/100 ml c/100 s/1
  2. Add a water log: log w/100
  3. Attempt to delete the water log: delete 100 ml

Actual Result: The application Description: When a user changes the integer values in data.txt to negative values, the application does not check it when importing the data and thus negative values are shown.

Steps to Reproduce:

  1. Open data.txt in the data folder
  2. Change any integer value to a negative number (e.g. -100)
  3. Run the jar file

Actual Result: The application first deletes the meal log before the water log.

Screenshot:

image.png


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

nikhil-2101 commented 5 months ago

Team's Response

No details provided by team.

Duplicate status (if any):

Duplicate of #1772