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

Nexus UI causes Uncaught TypeError when the username contains 'api' string with privilege 'nx-api-reader'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.29.2
    • Fix Version/s: 3.30.0
    • Component/s: UI
    • Labels:
    • Notability:
      3

      Description

      If a username contains string "api" and the privilege is "nx-api-reader" for the user then we get an error in the nexus 3.29.2-02 UI upon login.

      Steps to Reproduce:
      1. Install Nexus 3.29.2-02.

      2. Create a user with name containing string "api" like "api-XXX" / "api_XXX".
      Example:

      Username: api-user
      Privileges as "nx-api-reader"
      

      3. Login to the Sonatype Nexus Repository ManagerPRO 3.29.2-02 UI. (even in incognito mode) we get the Error as following:

      Uncaught TypeError: Cannot read property 'timerId' of undefined (http://master.example.com:8081/static/rapture/baseapp-prod.js?_v=3.29.2-02&_e=PRO:1)
      

      Workaround:

      • Either refresh the web browser and the error disappears.
      • Or Rename the user to some other name.

      Expected Behaviour:

      • Username can be anything so we should not see such error when logging in to nexus UI.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mkalachov Maksym Kalachov
              Reporter:
              jsensharma Jay Kumar SenSharma
              CC:
              Carsten Maudrich
              Last Updated By:
              Maksym Kalachov Maksym Kalachov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title