You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering a confusing behavior when attempting to upload new versions of files in hyrax 3
Go to a work page
In the "Items" table, click "Select an action" > Versions
Click "Upload new version"
Get error "There was a problem processing your request.", which comes from a POST request returning HTTP status 422
Apparently the "Upload new version" button is the submit button for a form and is active by default. The "Choose new file version" button above it is how you select what file to upload, but this was unclear to users and the application allows "Upload new version" to be clicked before the action is valid.
I was able to produce this behavior in nurax with hyrax 3.5 and 4.
Rationale
We've had multiple people (who are experienced hyrax users) at our institution very confused by this behavior
Expected behavior
Either hide or disable the "Upload new version" button until a file has been selected with the "Choose new file version" button.
Actual behavior
"Upload new version" button active before selecting a file, and gives an ambiguous error message.
The text was updated successfully, but these errors were encountered:
This was discussed at the 5/10/2023 Hyrax Interest Group call. The group would like to proceed with the suggestion to make the "Upload new version" button inactive until a file has been selected.
Additionally, we'd like to move the "Choose new file version" button so that it is between the "Upload New Version" header and the "Upload new version" button.
Descriptive summary
We are encountering a confusing behavior when attempting to upload new versions of files in hyrax 3
Apparently the "Upload new version" button is the submit button for a form and is active by default. The "Choose new file version" button above it is how you select what file to upload, but this was unclear to users and the application allows "Upload new version" to be clicked before the action is valid.
I was able to produce this behavior in nurax with hyrax 3.5 and 4.
Rationale
We've had multiple people (who are experienced hyrax users) at our institution very confused by this behavior
Expected behavior
Either hide or disable the "Upload new version" button until a file has been selected with the "Choose new file version" button.
Actual behavior
"Upload new version" button active before selecting a file, and gives an ambiguous error message.
The text was updated successfully, but these errors were encountered: