swongts / pe

0 stars 0 forks source link

Wrong list /food #13

Open swongts opened 3 years ago

swongts commented 3 years ago

image.png

Even though some food items have been deleted from the food entries, they still appear in the food database.

nus-se-script commented 3 years ago

Team's Response

The FoodDatabase keeps track of all the various types of Food objects, meaning it records the details of each food. EntryDatabase on the other hand keeps track of Entry objects, each representing a meal eaten by the user in this context. Deleting an Entry object, therefore, does not mean the corresponding Food object in the FoodDatabase needs to be deleted.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]