nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

When adding a meal entry with '/' in the name, it ignores everything between the '/' and the calorie input. #269

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

When adding a meal entry using the add mealEntry command and including a / in the input, the program will ignore everything between the first / and the /c input.

Screenshot 2024-11-15 at 4.40.04 PM.png

Steps to reproduce:

  1. Add a meal entry with the add mealEntry command. E.g., add mealEntry grapes w/ juice /c200
  2. The program will add the meal entry, but ignore everything between the first / and the /c1
  3. The program will save the meal entry as grapes w with 200 calories

Screenshot 2024-11-15 at 4.41.00 PM.png


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

Dri-water commented 1 week ago

Team's Response

Thank you for spotting the error. A clarification that '/' is not allowed within the meal name should have been included with the documentation.

Duplicate status (if any):

Duplicate of #71