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

Statistics/PackageDownloadsDetail throws System.ArgumentNullException #3200 #3206

Merged
merged 2 commits into from Aug 23, 2016

Conversation

maartenba
Copy link
Contributor

Fixes #3200

Fixed by checking for known dimensions (and if an unknown dimension is
specified, it's ignored).

@xavierdecoster @skofman1 @ryuyu @shishirx34 @scottbommarito

…3200

Fixed by checking for known dimensions (and if an unknown dimension is
specified, it's ignored).
@xavierdecoster
Copy link
Member

:shipit:

@@ -148,9 +148,10 @@ public StatisticsController(IStatisticsService statisticsService, IAggregateStat
return new HttpStatusCodeResult(HttpStatusCode.NotFound);
}

StatisticsPackagesReport report = await _statisticsService.GetPackageDownloadsByVersion(id);
var dimensions = new [] { "Version", "ClientName", "ClientVersion", "Operation" };
Copy link
Contributor

@skofman1 skofman1 Aug 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version [](start = 39, length = 7)

consts? #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@shishirx34
Copy link
Contributor

Looks good.

@maartenba
Copy link
Contributor Author

Did some updates, can you have another pass?

@xavierdecoster
Copy link
Member

LGTM 🚢

@shishirx34
Copy link
Contributor

LGTM :shipit:

@skofman1
Copy link
Contributor

:shipit:

@maartenba maartenba merged commit 2cf6524 into dev Aug 23, 2016
@maartenba maartenba deleted the issue-3200 branch August 23, 2016 07:32
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 this pull request may close these issues.

None yet

5 participants