-
-
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
WIP: Fix for https://lab.civicrm.org/dev/core/-/issues/5095 #29736
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
@twomice looks like you have picked a fight with jenkins https://test.civicrm.org/job/CiviCRM-Core-Matrix-PR/9893/BKPROF=dfl,SUITES=phpunit-api3,label=bknix-tmp/ |
@eileenmcnaughton I believe Jenkins is picking a fight with me. I'm up for it, though. Thanks for the heads-up! |
sting like a butterfly dance like a bee! |
82401b8
to
5f3109b
Compare
Marking as "WIP" pending passing tests. |
@civicrm-builder retest this please |
this is the test fail CRM_Report_Form_ActivityTest::testTargetAddressFields
#0 internal function: CRM_Core_Error::exceptionHandler(Object(DB_Error)) /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:293 |
my guess is the added order-by fields are not always present - source_contact_id is required but the others are not |
@twomice are you still up for this fight - or should we close it & track via gitlab? |
@eileenmcnaughton I won't get to it this week. Gotta catch up on client work after the sprint. Feel free to close if you think best. |
@twomice yeah - lets close out & you can see how you feel - it's a tough one & you would be forgiven for letting Jenkins have this battle |
Overview
Reference original issue: https://lab.civicrm.org/dev/core/-/issues/5095 :
"CRM_Report_Form_Activity: links to target / assigned contacts are often incorrect"
Before
Links often point to wrong contact.
After
Links point to the correct contact(s).
Sorting of names within each column is maintained, based on contact.sort_name.
Technical Details
Sure, it would be nice to do as the code comments in this file suggest (in several places):
But that seems more effort that it's worth at this point.