Improve package validation, error, and success messaging around the upload process

Description

Current problems:

  • no success messaging when upload is successful (it just takes you back to the package list page, where the user may or may not notice the package in the list)

  • sometimes an NPE is generated during the upload/validation routine which is uncaught and presents a bug report to the user

  • max file size error messaging doesn't seem to work, doesn't notify the user when the file exceeds the threshold, and the form is borked (buttons are disabled, no messaging; "what happened?")

  • validation errors result in the user being taken to a "Confirm" page that simply lists the validation problem

    • this forces the user to go back to the listing page, then to the upload page to retry

Proposed changes:

  • provide proper success message feedback on listing page after successful upload

  • catch all possible exceptions during upload process and display error messaging as appropriate

  • fix max file size exceeded messaging

  • remove the Confirm page entirely (it's essentially useless); instead provide validation error messages on the Upload page via AJAX

    • this way the user can see the problem and try a different module all on the same page without having to navigate back to the Upload page

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 17, 2019 at 1:00 PM
Updated October 3, 2019 at 12:56 PM
Resolved October 3, 2019 at 12:56 PM

Flag notifications