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

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 #1721

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

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

natalia-muzyka commented 2 years ago

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

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