Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in FindPackagesByOwner when a registration with no packages is encountered #1914

Closed
analogrelay opened this issue Feb 21, 2014 · 0 comments · Fixed by #1915
Closed

Bug in FindPackagesByOwner when a registration with no packages is encountered #1914

analogrelay opened this issue Feb 21, 2014 · 0 comments · Fixed by #1915
Assignees
Milestone

Comments

@analogrelay
Copy link
Contributor

If we delete all versions of a package but not the Package Registration entry, PackageService.FindPackagesByOwner starts throwing NullReferenceExceptions. The results in 'latestPackageVersions' include NULL values. Easiest fix is to just ignore nulls here.

Test Notes

Easily verified by just verifying that the nuget test account shows the correct result in the Manage My Packages page.

@analogrelay analogrelay added this to the v3.0.1 milestone Feb 21, 2014
@analogrelay analogrelay self-assigned this Feb 21, 2014
analogrelay added a commit that referenced this issue Feb 21, 2014
analogrelay added a commit that referenced this issue Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant