Click the "General calendar" button on any applet with at least one user (vbn123, tokenlogger anita)
Click the "Import schedule" button, and click "Yes"
Upload the CSV schedule which contains: at least two events
1- one with a non-specified Secret UID,
2- one with a specified Secret UID
Submit the schedule and Save
Pay attention to the applied events in the General calendar
Move to the "View users" tab and open an Individual calendar of the user whose secret UID was specified in a CSV
Pay attention to the Individual calendar events
Actual result:
After saving the General schedule from CSV with a specified Secret UID the General calendar is duplicated to the Individual calendar. The user whose UID was specified in CSV schedule has general events + own events in the Individual calendar.
Expected result:
After saving the General schedule which contains the event for a specific Secret UID:
only the non-specified events overwrite the General calendar
only the specified event overwrites an Individual calendar of the Secret UID user
Preconditions The user is logged in on the admin panel https://admin-staging.mindlogger.org/ jeligi9407@zneep.com / 123456
Steps to reproduce
Actual result: After saving the General schedule from CSV with a specified Secret UID the General calendar is duplicated to the Individual calendar. The user whose UID was specified in CSV schedule has general events + own events in the Individual calendar.
Expected result: After saving the General schedule which contains the event for a specific Secret UID:
As it worked before fixing (removing) the Secret UID from the Individual calendar (according to ticket https://app.zenhub.com/workspaces/mindlogger-webapp-5e11094d0c26311588da9626/issues/childmindinstitute/mindlogger-admin/1697) Video (correct behavior): https://www.screencast.com/t/RB7597XoENG
Video (issue): https://www.screencast.com/t/6mbEsqIjWI
Environment: https://admin-staging.mindlogger.org/ v0.17.11 Win 10 / Chrome 103 jeligi9407@zneep.com / 123456 applets: vbn123 , TokenLogger applet (Anita) Applet password: Qwe123!!! CSV files: https://drive.google.com/drive/folders/18OcV3ryUd6-jriDQjhms4Q74OSryYaMr?usp=sharing