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

Nuget repo unable to proxy packages with 4 digit version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.13.0
    • Fix Version/s: 3.14.0
    • Component/s: NuGet

      Description

      Attempting to nuget install the following package fails using the Nuget client and a Nexus repo:

      <package id="Microsoft.Web.InfrastructureQuery" version="1.0.0.0" />

      The package version has four digits in nuspec. Only three digits are sent by the Nuget client. 

      This works:

      http://localhost:8081/repository/nuget.org-proxy/Packages(Id='Microsoft.Web.Infrastructure',Version='1.0.0.0')

      This does not work:
      http://localhost:8081/repository/nuget.org-proxy/Packages(Id='Microsoft.Web.Infrastructure',Version='1.0.0')

      But it does work directly against nuget.org:

      https://www.nuget.org/api/v2/Packages(Id='Microsoft.Web.Infrastructure',Version='1.0.0')

      We need to work with the 3 digit version from the nuget client.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdodgson Mark Dodgson
              Reporter:
              cseney Cassandra Seney
              CC:
              Chandan Sathyanarayana
              Last Updated By:
              Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title