Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-29288

UI Error message handling is broken for Blobstore UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.34.0, 3.35.0
    • Fix Version/s: None
    • Component/s: Blobstore
    • Notability:
      3

      Description

      When creating blobstores, if there is a legitimate error during Save, then the error message is not displayed to the end user in the UI. Instead there is a UI error "toast" that displays the message:

      "[object Object]"

      Expected

      Display an actual error message with detail to the end user in the UI.

      Other

      The actual cause of the error can possibly be found by examining the logs files. For example:

      2021-10-13 11:57:06,861-0300 WARN  [qtp2048151049-689] admin org.sonatype.nexus.siesta.internal.ValidationErrorsExceptionMapper - (ID f4cfb01e-e35a-4846-b4d9-529d901b4b67) Response: [400] '[ValidationErrorXO{id='*', message='Blob Store 'default' is set as storage for 7 repositories and is not eligible to be a group member'}]'; mapped from: org.sonatype.nexus.rest.ValidationErrorsException: Blob Store 'default' is set as storage for 7 repositories and is not eligible to be a group member
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbucher Michael Bucher
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Michael Bucher Michael Bucher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title