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
Run the app
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
Edit the recipe's first step by running edit r/scramble egg s/1,add 1/4 tblspoon of water
The app will crash
Actual Output
When performing step 3 as mentioned above, the app will crash.
Expected Output
The app should not crash and the recipe's first step should be successfully edited.
We accept that it is a bug where special characters are not handled.
However,
(a) we believe that it is a feature flaw and not a functionality flaw because
The feature of taking into account special characters is not implemented in our current version, but works as expected if "normal" inputs without special characters are used.
(b) Severity should be medium, because
program is still perfectly usable if users use 0.25 instead of 1/4 to demonstrate a step. The meaning is exactly the same.
it is a rare case as most users will not use slashes in their steps, hence, we did not include the functionality
Description
App crashes when running the
edit r
command with valid input. In this case, I tried to change the recipe's first step toadd 1/4 tblspoon of water
and it crashed. Considering that it is common for recipes to have figures like1/4
, the app would likely crash frequently when the user runs theedit r
command, hence theHigh
severity given.Steps to Reproduce
add r/scramble egg t/1 s/buy ingredients t/2 s/wash ingredients s/bake ingredients i/egg,2,pc
edit r/scramble egg s/1,add 1/4 tblspoon of water
Actual Output
When performing step 3 as mentioned above, the app will crash.
Expected Output
The app should not crash and the recipe's first step should be successfully edited.
[original: nus-cs2113-AY2324S1/pe-interim#1025] [original labels: type.FunctionalityBug severity.High]