Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16471

NuGet Remote Repository cannot process extra XML options

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:
      None

      Description

      When parsing some remote NuGet repositories, such as EpiServer, there are some non-standard metadata entries that look to throw off the Artifactory metadata system.

      Steps to reproduce:

      1. Point a remote NuGet repository to http://nuget.episerver.com with the "NuGet Feed Context Path" set to "feed/packages.svc/"
      2. Attempt to do a NuGet pull on EPiServer.CMS.Core, version='11.5.1'
        (Workaround curl
        curl -vvv http://localhost:8081/artifactory/api/nuget/nugetRemote/Packages(Id='EPiServer.CMS.Core',Version='11.5.1')
      3. See a "404 Not Found" error, but there is an error in the Artifactory logs:
      2018-04-19 21:05:21,817 [http-nio-8081-exec-1843] [ERROR] (o.a.a.n.NuGetServiceImpl:219) - Error occurred while parsing the response of a remote NuGet query on 'http://nuget.episerver.com' with the parameters 'filter='null', orderBy='null', searchTerm='null', targetFramework='null', includePrerelease='false' skiptoken='null' skip='null', top='80', select='', inlinecount='null', expand='null' id=''EPiServer.CMS.UI.Core'', packageIds='null', versions='null' includeAllVersions='false'': No such field org.jfrog.repomd.nuget.odata.feed.Entry.published
      ---- Debugging information ----
      message : No such field org.jfrog.repomd.nuget.odata.feed.Entry.published
      field : published
      class : org.jfrog.repomd.nuget.odata.feed.Entry
      required-type : org.jfrog.repomd.nuget.odata.feed.Entry
      converter-type : org.jfrog.repomd.nuget.odata.feed.converter.EntryConverter
      path : /feed/entry/published
      line number : 1
      class[1] : org.jfrog.repomd.nuget.odata.feed.Feed
      converter-type[1] : org.jfrog.repomd.nuget.odata.feed.converter.FeedConverter
      version : not available
      -------------------------------

      Please find the attached metadata XML for a comparison of the metadata on the Episerver site and the metadata Artifactory generates on the same package.

       

      A workaround is to manually upload the files pulled from the Episerver remote site to a local Artifactory repository.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: