{"action":"closed","issue":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/1640","repository_url":"https://api.github.com/repos/NuGet/NuGetGallery","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/1640/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/1640/comments","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/1640/events","html_url":"https://github.com/NuGet/NuGetGallery/issues/1640","id":20722432,"number":1640,"title":"Invalid version numbers in nuspec trigger an unhandled exception (WSOD) on upload.","user":{"login":"claycompton","id":1505144,"avatar_url":"https://avatars1.githubusercontent.com/u/1505144?v=4","gravatar_id":"","url":"https://api.github.com/users/claycompton","html_url":"https://github.com/claycompton","followers_url":"https://api.github.com/users/claycompton/followers","following_url":"https://api.github.com/users/claycompton/following{/other_user}","gists_url":"https://api.github.com/users/claycompton/gists{/gist_id}","starred_url":"https://api.github.com/users/claycompton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claycompton/subscriptions","organizations_url":"https://api.github.com/users/claycompton/orgs","repos_url":"https://api.github.com/users/claycompton/repos","events_url":"https://api.github.com/users/claycompton/events{/privacy}","received_events_url":"https://api.github.com/users/claycompton/received_events","type":"User","site_admin":false},"labels":[{"id":203335782,"url":"https://api.github.com/repos/NuGet/NuGetGallery/labels/Area:%20Gallery%20UI","name":"Area: Gallery UI","color":"009800","default":false},{"id":509040245,"url":"https://api.github.com/repos/NuGet/NuGetGallery/labels/ops%20grabs","name":"ops grabs","color":"e99695","default":false},{"id":28569391,"url":"https://api.github.com/repos/NuGet/NuGetGallery/labels/Priority%20-%203","name":"Priority - 3","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2013-10-09T04:50:17Z","updated_at":"2017-11-09T19:31:00Z","closed_at":"2017-11-09T19:31:00Z","author_association":"CONTRIBUTOR","body":"1. Create a .nupkg file by hand whose version number in the nuspec is invalid (for the purposes of this example, let's assume it's 0.0.0.0.0).\n2. Attempt to upload it using the gallery UI.\n\nRESULT:  You'll get an unhandled exception on upload.  Investigating error logs reveals the underlying error is an ArgumentExeption with the error message:\n\nSystem.ArgumentException: '0.0.0.0.0' is not a valid version string. Parameter name: version\n\nThe full stack trace is available at https://qa.nugettest.org/Admin/Errors.axd/detail?id=2213.\nEXPECTED:  We should never WSOD on customers, even in fringe scenarios like this. If we can treat invalid package uploads in the Gallery the same way we do for validation errors, that would be ideal.\n"}}
{"actor":{"display_login":"joelverhagen"}}