nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Undo command undid p-edit command #4639

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Undo command undid p-edit command.

Steps to reproduce:

  1. add schedule through command a-schedule start/2020-12-25 08:00 end/2020-12-25 12:00 pt/1 d/Medical checkup t/LowPriority
  2. Edit patient's name with p-edit 1 n/Editted Alex Yeoh
  3. Execute undo

Expected:

  1. Appointment disappears.
  2. Patient's name stay the same as Editted Alex Yeoh (Documentation says undo does not work on p-edit command).

Reality:

  1. Appointment is now lost, cannot view even through a-list.
  2. Patient's name changes back to Alex Yeoh No More.

a-schedule start/2020-12-25 08:00 end/2020-12-25 12:00 pt/1 d/Medical checkup t/LowPriority Screenshot 2020-11-13 at 4.26.54 PM.png

p-edit 1 n/Editted Alex Yeoh Screenshot 2020-11-13 at 4.27.41 PM.png

undo Screenshot 2020-11-13 at 4.27.55 PM.png

a-list Screenshot 2020-11-13 at 4.28.40 PM.png


[original: nus-cs2103-AY2021S1/pe-interim#4463]

soaza commented 3 years ago

Team's Response

Accepted bug, similar issue to #4641

Duplicate status (if any):

Duplicate of #4641