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 table is not parsed if there is a comma in the activity name #1641

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 the applet with the activity that contains a comma in the name
  3. Open an individual calendar of any user
  4. Click the "Import schedule" button
  5. Import a valid CSV schedule for this activity
  6. Pay attention to the screen

Actual result The CSV table is not parsed if there is a comma in the activity name

Expected result The CSV table is parsed if there is a comma in the activity name OR there should be a restriction on creating the activity name (disable comma symbol)

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

Environment: https://admin-staging.mindlogger.org/ Win 10 // Chrome 102 v0.17.2 jeligi9407@zneep.com / 123456 Test Applet (1) / vbn,123 Applet password: Qwe123!!!

CSV files: no comma - https://drive.google.com/file/d/1ihfi1W3lr921MZOmrxfROML8OHJVsJ5q/view?usp=sharing with comma - https://drive.google.com/file/d/1Goz8N3VsNCDSTeF8mK-lXeEMYEjjGxBv/view?usp=sharing

natalia-muzyka commented 2 years ago

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

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