-
-
Notifications
You must be signed in to change notification settings - Fork 825
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 for dev/core#428: Fatal error in Activity Details report when Sorting uses Section Header #12915
Fix for dev/core#428: Fatal error in Activity Details report when Sorting uses Section Header #12915
Conversation
(Standard links)
|
@twomice as far as I can see the tests failed? Is that correct? |
@ErikHommel Those 7 tests are failing with all the PRs I've reviewed recently. They're also testing things that seem very far removed from the scope of this change, so I'm virtually positive they're unrelated to this PR. |
@twomice Cool, I have already asked for a reviewer....:-) |
I just tried this patch on a civibuild drupal-demo, but although the patch does fix the issue it seems to have created an error on every page load:
I'll try again just to be sure... |
Yep - confirmed:
|
Jenkins test this please. |
Hi @eileenmcnaughton I'm not sure what you mean by "put this against the rc as a recent regression". Can you restate? |
@twomice can you rebase the patch over the 5.7 branch and change the pr to be against the 5.7 branch. That way it will be in the November release - which makes sense as it is a fix for a recent regression. (Optionally we could drop a 5.6.x release but we'll make that call once it's merged to 5.6 & - we take into account things like how far through the the month we are, how old the regression is & whether there are other things to go out) |
3639edc
to
d3e87a8
Compare
@eileenmcnaughton I think this is where i always get tripped up. Is this right? |
@twomice it's a little bit right & a lot wrong. 2 ways to fix it either way you need to do a git push -f to push it up afterwards hint |
d3e87a8
to
ab663ec
Compare
Thanks @eileenmcnaughton ! Done. Please prompt me if it needs something more. |
thanks @twomice ! merging |
Overview
This PR corrects a bug in the Activity Details report, in which a fatal error is caused by setting "Section header" for a column under the "Sort" tab.
Before
In the Activity Details report, a fatal error is caused by setting "Section header" for a column under the "Sort" tab.
After
No more fatal error.
Technical Details
Currently, the activity Details report assumes the name of a temporary table is stored in $this->temporaryTables['activity_temp_table'], but that's really an array. The table name is actually stored in $this->temporaryTables['activity_temp_table']['name']. This PR fixes that.
Comments
(none)