Skip to content

Adding a meal entry with a significant amount of portions will make the program add that meal entry precisely that many times #7

@philip1304

Description

@philip1304

When adding a meal entry with a many portions, the program will add the meal entry with that many portions, even if it is a ridiculous number such as 2147483647.

Steps to reproduce:

  1. Add a meal entry with the add mealEntry command, and give the input a high portion value. E.g., add mealEntry Eggs /c250 /p2147483647
  2. The program will add that meal entry 2147483647 times.

Screenshot 2024-11-15 at 5.01.58 PM.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions