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

NuGet group repo with no proxy repositories gives UI error when PostgreSQL is used

    Details

    • Sprint:
      NXRM Immortals Sprint 35
    • Notability:
      2
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      Set up Nexus Repo 3.38.1 (orientdb install) with a NuGet group repository that does not contain any proxy repositories. I used this structure:

      ├ ⧈ nuget-group (nuget-group)
      │   ├ • nuget-hosted1 (nuget-hosted)
      │   └ ⧈ nuget-group2 (nuget-group)
      │       ├ • nuget-hosted2 (nuget-hosted)
      │       └ • nuget-hosted3 (nuget-hosted)
      
      

      Shut down the instance. Migrate the database to PostgeSQL, and configure the instance to use the new database.

      After restarting clicking on repository administration for any of the nuget group repositories will result in the error "Uncaught TypeError: Cannot read properties of undefined (reading 'proxy') (http://localhost:8081/static/rapture/nexus-coreui-plugin-prod.js?_v=3.38.1-01&_e=PRO:1)":

       

      Expected: There is no proxy repository in this group. It looks like the code is assuming nuget group repositories always have at least one proxy repository? That's not a valid assumption.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Nicholas Blair Nicholas Blair
              Team:
              NXRM - Optimus
              Owner:
              Vitalii Hashock Vitalii Hashock
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title