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 CSV is parsed if contains the event with the same activity start and end time #1724

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/ jeligi9407@zneep.com / 123456

Steps to reproduce

  1. Open a site https://admin-staging.mindlogger.org/
  2. Open the General or Individual calendar on any applet
  3. Click the "Import schedule" button, and click "Yes"
  4. Upload the CSV schedule which contains the event with the same activity start and end time
  5. Pay attention to the screen
  6. Submit the schedule
  7. Open the created event card
  8. Observe the result

Actual result The CSV is parsed if contains the event with the same activity start and end time

Expected result The error pop-up "Invalid CSV File: You have invalid start time or end time in CSV. Please fix it and reupload." is shown after an attempt to upload CSV which contains the event with the same activity start and end time

image.png

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!!!

natalia-muzyka commented 2 years ago

Verified as fixed: https://www.screencast.com/t/0VDtqkwcsZu

Environment: https://admin-staging.mindlogger.org/ v0.17.16 Win 10 / Chrome 103