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/100) Membership Detail report throw DB error #12077

Closed
wants to merge 1 commit into from

Conversation

yashodha
Copy link
Contributor

@yashodha yashodha commented May 3, 2018

Overview

Membership Detail report throw DB error

Before

DB error appears as aclFrom clause is applied again in setFromBase function here https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Form.php#L5071

After

Results appear as expected.

@eileenmcnaughton
Copy link
Contributor

@yashodha I worked on this earlier & reviewed another patch - from my testing simply removing the entire postProcess function worked & seemed like the best fix - can you see what you think of that approach?

@eileenmcnaughton
Copy link
Contributor

This is the original PR on this issue #11948 - you can see it stalled because I wasn't there with the decision in that PR to move a line around.

I'd love to get this merged & am even happy to write the required unit test - but I want to look at removing that postProcess first because from what I can see it's an override that only serves to double-add the permission - which makes it the best candidate fix I think

@eileenmcnaughton
Copy link
Contributor

Closing as Seamus reviewed alternate fix & now merged

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

Successfully merging this pull request may close these issues.

3 participants