DSpace / dspace-angular

DSpace User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC8x/
BSD 3-Clause "New" or "Revised" License
126 stars 417 forks source link

Hanged when submitting a new external source item #3292

Open paulo-graca opened 2 weeks ago

paulo-graca commented 2 weeks ago

Describe the bug

When a 403 error occurred the system got hanged.

To Reproduce

Steps to reproduce the behavior:

  1. Using DSpace 7.6.1
  2. The following error must occur - https://github.com/DSpace/DSpace/issues/9797
  3. The the system hangs like in this image, giving the notion that is still processing image

Expected behavior

The user should be notified about the occurred error, not being hanged nor have the feeling he needs to wait until it ends.

Related work

https://github.com/DSpace/DSpace/issues/9797

tdonohue commented 2 weeks ago

While this appears to be caused by https://github.com/DSpace/DSpace/issues/9797, I agree that the submission form should have better error handling. Ideally the form shouldn't hang if an error occurs, but should display some information about the error and then allow the user to proceed (or not). Needs a volunteer.