bcgov / SIMS

Student Information Management System. Post-Secondary Student Financial Aid System
Apache License 2.0
25 stars 14 forks source link

Hotfix: Bulk uploads: Unexpected error while uploading the file displays when "Validate" or "Create now" are selected for valid bulk upload #3840

Closed astridSABC closed 3 weeks ago

astridSABC commented 1 month ago

Describe the Bug When the user has a valid .csv file, when they click "Validate" or "Create now" there is an unexpected error message displayed

Note: Need to check a file with additional spaces or invalid information

Expected Behaviour 1. Click “Validate” (error handling) When the file is validated, if there are any issues with the file an informative message is displayed

Example:

image.png

Click "Validate" (acceptable file) Confirmation message such as "File is validated, click "Create now" to proceed" or some user friendly message.

2. Click "Create now" (error handling) - (most likely not selected if *.csv does not validate)

(acceptable file) Confirmation message such as "Success! Your bulk offerings have been uploaded" or some user friendly message.

Actual Behaviour Click "Validate" below error message is displayed

Click "Create now" below error message is displayed

image.png

Steps To Reproduce Steps to reproduce the behaviour:

Precondition Note: The institution location code A program that allows part time programs with above institution location code in the Institution Program code field and an SABC code .xls spreadsheet has been filled out and saved as a Comma Delimited (*.csv) format

bulk-offering-upload-template.xlsx

In the test environment and staging (occurs in test and staging)

  1. Login to the institution that has the program that was created from above
  2. Click “Manage Institution” link in the top right pane
  3. Click “Offerings Upload” link in the bottom left corner
  4. Drag your .csv file into the “Offering CSV file” field
  5. Click “Validate” button
  6. Note any messages, if validates goto step 7
  7. Click “Create now” button