ugent-library / biblio-backoffice

Apache License 2.0
5 stars 0 forks source link

Publication: validation errors not repeated above in add/edit link modal #1643

Closed nicolasfranck closed 4 days ago

nicolasfranck commented 1 week ago

Steps to Reproduce

  1. Go to a publication
  2. Click on "Add link", or open "Edit link"
  3. Remove URL, and click Save
  4. See error below URL. This is NOT show above

Cause: missing @form.Errors after the conflict check in https://github.com/ugent-library/biblio-backoffice/blob/main/views/publication/edit_link.templ#L30

like was done for datasets: https://github.com/ugent-library/biblio-backoffice/blob/main/views/dataset/edit_link.templ#L31

Impact

Very small. There is already reporting (locally).