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



  • 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.



  • 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.



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

    Thanks



  • 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.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation