NuGet/NuGetGallery — Issue #417: [Bug] If latest package version is prerelease, download url for latest version fails with error
Author: ferventcoder
Created: 2012-02-18 05:22:11+00:00
State: open

Here is a package that has no prereleases - http://nuget.org/api/v2/package/roundhouse/

The api downloads the latest version of the feed.

Here is a package that has a prerelease as the latest version - http://nuget.org/api/v2/package/chocolatey/

```
The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted.
```

This behavior is the same on v1 version of the feed.