-
-
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
Token changes #13174
Token changes #13174
Conversation
(Standard links)
|
getValue blows up if value is not set, so use getSingle instead
@eileenmcnaughton The things left here now are fairly small. Can we consider these in one PR or do I need to split out further? |
$fieldValue = civicrm_api3($entity, 'getvalue', array( | ||
'return' => $customFieldName, | ||
'id' => $entityID, | ||
$record = civicrm_api3($entity, "getSingle", array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not having a return does impact the speed of the api - esp on contribution.get -
@@ -71,14 +71,22 @@ public static function getSubscribedEvents() { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I feel like I understand the changes to this file really well now :-) If you push them up separately I can merge them quick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, now in #13278
@aydun can you please rebase this? |
@eileenmcnaughton The only piece of this now remaining is #13283 so I'll close this one. Getting that merged is the last item before rebasing #12012 |
Overview
A variety of changes affecting the TokenProcessor - see git commits. These are extracted from PR #12012 and new functionality is used in that PR
There are no user changes here.