stable

Clone or download

Read-only

feat: Display tus upload failure in UI

part of story #36484 create a new project from an XML template How to test: Be sure that tus upload will throw an error (FileUploadController::handle can throw a new Exception) Create a project from xml in UI => the error message is displayed, you can submit form again Submit form again => an error indicating that project shortname already exists is displayed Remove the Exception in Cpontroller, update your shortname to have a unique shortname and submit => the project is created from archive Change-Id: Ib3814ed904fb8ff33122bc1c749010aaa38bbe68

Modified Files

Name
M src/scripts/project-registration/src/helpers/upload-file.ts +6 −2 Go to diff View file
M src/scripts/project-registration/src/stores/root.ts +6 −0 Go to diff View file