Skip to content

[Edit Recipe] App crashes when running edit command with valid input #4

Description

@imaginarys96

Description

App crashes when running the edit r command with valid input. In this case, I tried to change the recipe's first step to add 1/4 tblspoon of water and it crashed. Considering that it is common for recipes to have figures like 1/4, the app would likely crash frequently when the user runs the edit r command, hence the High severity given.

Steps to Reproduce

  1. Run the app
  2. Add the following recipe by running add r/scramble egg t/1 s/buy ingredients t/2 s/wash ingredients s/bake ingredients i/egg,2,pc
  3. Edit the recipe's first step by running edit r/scramble egg s/1,add 1/4 tblspoon of water
  4. The app will crash

Actual Output

When performing step 3 as mentioned above, the app will crash.

image.png

Expected Output

The app should not crash and the recipe's first step should be successfully edited.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions