ChildMindInstitute/mindlogger-admin-OLD-Vue

Show general "The table failed to upload. Please ensure you have followed the format exactly and try again." error pop-up after uploading the CSV with more than one invalid value

Closed this issue · 1 comments

Preconditions
The user is logged in on the admin panel
https://admin-staging.mindlogger.org/
jeligi9407@zneep.com / 123456

Steps to reproduce

Open a site https://admin-staging.mindlogger.org/
Click the "General calendar" button on any applet with at least one user (vbn123)
Click the "Import schedule" button, and click "Yes"
Upload the CSV schedule which contains a few similar types of errors, or a few different types of errors
Pay attention to the screen

Actual result:
The specified error pop-up for only the first in the CSV invalid value is shown

Expected result:
Show general "The table failed to upload. Please ensure you have followed the format exactly and try again." error pop-up after uploading the CSV with more than one invalid value

image.png

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

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

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