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

Content Selectors UI doesn't verify Name properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.29.2
    • Fix Version/s: None
    • Component/s: UI
    • Labels:

      Description

      I noticed that if you attempt to save a content selector with an invalid name, the form fails to submit as expected.

      However, the UI flags the Search Expression field as the source of the problem, not the name field.

      The logs show the following:

      2021-01-05 17:58:09,870-0500 WARN  [qtp1681806537-227] admin org.sonatype.nexus.siesta.internal.resteasy.ResteasyViolationExceptionMapper - (ID 29fdaa80-acf7-454f-b66c-55c4f4923d72) Response: [400] '[ValidationErrorXO{id='PARAMETER name', message='Only letters, digits, underscores(_), hyphens(-), and dots(.) are allowed and may not start with[ui-issue?]rs, digits, underscores(_), hyphens(-), and dots(.) are allowed and may not start with underscore or dot.]
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mbucher Michael Bucher
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title