Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Can't order packages by name

    Scheduled Pinned Locked Moved Support
    visual-studioproget
    4 Posts 1 Posters 6 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      VisualStudio 2012, NuGet plugin v. 2.6.40627.9000.

      • Right click on a project, "Manage NuGet Packages"
      • Select Online (ProGet repository)
      • Select "Name: Descending" from the combo box "Sort by"

      Expected: list of available packages, sorted by name
      Actual: error "Could not connect to the feed specified"

      Inspecting the HTTP traffic with Fiddler, this is the request issued to ProGet:

      GET https://<progetServerAddress>/nuget/default/Search()?$filter=IsAbsoluteLatestVersion&$orderby=concat(Title,Id),Id&$skip=0&$top=30&searchTerm=''&targetFramework='net40'&includePrerelease=true HTTP/1.1
      DataServiceVersion: 1.0;NetFx
      MaxDataServiceVersion: 2.0;NetFx
      NuGet-ProjectGuids: {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
      User-Agent: NuGet VS Packages Dialog/2.6.40627.9000 (Microsoft Windows NT 6.1.7601 Service Pack 1, VS Ultimate/11.0)
      Accept: application/atom+xml,application/xml
      Accept-Charset: UTF-8
      Host: <progetServerAddress>
      Accept-Encoding: gzip, deflate

      and here is the response:
      HTTP/1.1 500 Internal Server Error
      Cache-Control: private
      Content-Length: 28
      Content-Type: text/plain; charset=utf-8
      Server: Microsoft-IIS/8.0
      X-AspNet-Version: 4.0.30319
      Persistent-Auth: true
      X-Powered-By: ASP.NET
      Date: Fri, 02 Aug 2013 13:17:48 GMT

      One or more errors occurred.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Thanks for the report; it would appear that NuGet 2.6 added a concat(Title,Id) function to their orderby query. A bit bizarre (considering it then orders by Id), but then again, it's NuGet...

        We'll logged this as PG-119 and will fix this in ProGet 2.1.3.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I've installed v 2.1.3 but the issue seems not solved.
          Did you have a target release date for this fix?

          Thanks

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Unfortunately that issue PG-119 was moved to a future a release because of the priority of the other issues listed in the release notes: http://inedo.com/proget/release-notes#2.1.3

            We will try to get this in 2.1.4.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation