nusCS2113-AY1920S1 / pe-dev-response

0 stars 0 forks source link

Unable to insert 2nd last step for editprepstep #407

Open nus-pe-bot opened 5 years ago

nus-pe-bot commented 5 years ago

For a newly added recipe called "cake", with this list of prep steps:

Screenshot 2019-11-15 at 4.49.50 PM.png

when I try to input "editprepstep cake ins/ 3 step/ do that again", the following error is given:

Screenshot 2019-11-15 at 4.51.58 PM.png


[original: nusCS2113-AY1920S1/pe-interim#407]

jiaweijwjw commented 5 years ago

Team's Response

insertion for prep step not properly accounted for. could be a bug in the code which checks for whether the position is a valid position to be inserted in.

Duplicate status (if any):

Duplicate of #207

LJX0006 commented 5 years ago

Team's Response

Tried the same command and it runs successfully.

Duplicate status (if any):

--