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

dev/core#1619 - Fatal error when grouping Activity Summary report by activity date #16643

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/issues/1619
Run an activity summary civireport and on the grouping tab pick activity date. Pick any frequency. Gives a fatal error.

Before

Invalid query. Fatal error.

After

Query still invalid, but worked around by disabling ONLY_FULL_GROUP_BY.

Technical Details

ONLY_FULL_GROUP_BY

Comments

Adds a test.

@civibot civibot bot added the master label Feb 27, 2020
@civibot
Copy link

civibot bot commented Feb 27, 2020

(Standard links)

@eileenmcnaughton
Copy link
Contributor

I'm OK with this - we really should remove the handling for the group_by_freqs from this class & either extract in the parent class or just stop overriding SELECT()

However, this takes us forwards by adding testing!

@colemanw colemanw merged commit 5128655 into civicrm:master Feb 27, 2020
@demeritcowboy demeritcowboy deleted the activity-summary-groupby branch February 27, 2020 23:22
@demeritcowboy
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants