ChildMindInstitute / mindlogger-admin-OLD-Vue

Browser-based interface for administering the MindLogger platform
https://admin-prod.mindlogger.org
Other
4 stars 4 forks source link

The valid imported schedule is not applied after submitting the valid CSV file #1631

Closed natalia-muzyka closed 2 years ago

natalia-muzyka commented 2 years ago

Preconditions The user is logged in on the admin panel https://admin-staging.mindlogger.org/

Steps to reproduce

  1. Open a site https://admin-staging.mindlogger.org/
  2. Click the "View users" button on any applet
  3. Open an individual calendar of any user
  4. Click the "Import schedule" button
  5. Import a valid CSV schedule with at least one event
  6. Click Submit button
  7. Pay attention to the screen

Actual result The imported valid schedule is not applied after submitting the valid CSV file

Expected result The imported valid schedule is not applied after submitting the valid CSV file

Video: https://www.screencast.com/t/IdowCCjgCMlT

Environment: https://admin-staging.mindlogger.org/ Win 10 / Chrome 102 jeligi9407@zneep.com / 123456 vbn123, My applet web import Applet password Qwe123!!!

CSV files applet "vbn123": https://drive.google.com/file/d/1zZllycYd6Unyuf0qADS9fbb1rz8ZKVHA/view?usp=sharing applet "My applet web import": https://drive.google.com/file/d/1Rnzu2eCvD1iSXsDtxwQGbtI3sM4_Kr7n/view?usp=sharing

natalia-muzyka commented 2 years ago

@Matchdev120 schedule is still not applied, after submitting the CSV events are not displayed in the calendar. After clicking Save there is a 500 Error.

Video: https://www.screencast.com/t/XnM76tnVJyc CSV file: https://drive.google.com/file/d/1Jaha_lxU2YbfXPgSmYhOIiPYzDNTUOwy/view?usp=sharing

Environment: https://admin-staging.mindlogger.org/ v0.17.3 Win 10 / Chrome 102 jeligi9407@zneep.com / 123456 vbn123 Applet password Qwe123!!!

natalia-muzyka commented 2 years ago

@Matchdev120 1 - the uploaded schedule is still not displayed in the calendar after submitting the CSV file 2 - now I can save but there's still no new schedule after reentering the calendar

Noticed that when I save the CSV schedule the "events" value is empty in the setSchedule request. Video: https://www.screencast.com/t/hTHEyBfx06A

Environment: https://admin-staging.mindlogger.org/ v0.17.5 Win 10 / Chrome 102 jeligi9407@zneep.com / 123456 vbn123 test-user10@mail.com /123456 my cognitive tasks Applet password Qwe123!!!

natalia-muzyka commented 2 years ago

@Matchdev120 Events are displayed in the calendar now, but there are two behaviors after clicking "Save":

1 - 500 error: https://www.screencast.com/t/3pllBFDRT71O CSV files: https://drive.google.com/file/d/1GE3mHTdbF2Qu_JO_kK1cE6ZSOfqtAiIB/view?usp=sharing https://drive.google.com/file/d/1-NXYU1mWGPcaNsBVwxUKF_bRUUDZ5cAW/view?usp=sharing jeligi9407@zneep.com / 123456 vbn123

2 - saving is successful, but after moving back to the "View users" tab user still has a general calendar, and the saved event is missing after opening the individual calendar again: https://www.screencast.com/t/VP6yWeQEHw CSV file: https://drive.google.com/file/d/1AiYOi7eqTYZ42zvkXMXFWa9QvcQ4o2X8/view?usp=sharing test-user10@mail.com /123456 my cognitive tasks

Environment: https://admin-staging.mindlogger.org/ v0.17.6 Win 10 / Chrome 102 Applet password Qwe123!!!

natalia-muzyka commented 2 years ago

Verified as fixed: https://www.screencast.com/t/cZoxPtAQi2

Environment: https://admin-staging.mindlogger.org/ v0.17.6 Win 10 / Chrome 102 Applet password Qwe123!!!