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

fix min and max event value is summed #10725

Merged
merged 2 commits into from Oct 30, 2016
Merged

fix min and max event value is summed #10725

merged 2 commits into from Oct 30, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 11, 2016

See eg https://forum.piwik.org/t/where-are-event-value-maximums-stored/19534

The min and max value for events was summed instead of keeping the min / max value.

I checked the Actions archiver and there it was done properly. Not sure where else we might have this issue.

Added a testcase to show this problem. Without the fix the min/max value will be the sum of each day/week/...

@tsteur tsteur added Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review labels Oct 11, 2016
@tsteur tsteur added this to the 3.0.0-b3 milestone Oct 11, 2016
@tsteur
Copy link
Member Author

tsteur commented Oct 11, 2016

the fix can be seen here https://travis-ci.org/piwik/piwik/jobs/166868842

@tsteur tsteur merged commit 5f88573 into 3.x-dev Oct 30, 2016
@tsteur tsteur deleted the events_archive_fix branch October 30, 2016 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant