Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
InteractionService->searchJourneys() input contract is:
searchJourneys(array $params, $json = NULL)
This should be changed to:
searchJourneys(array $params - NULL, $json = NULL)
because it is possible to search for journeys without filters, and it should not be up to the calling code to define an empty array.
Comment | File | Size | Author |
---|---|---|---|
#4 | marketing_cloud-searchJourneys_params-2974054-4.patch | 1.86 KB | john_a |
#2 | marketing_cloud-searchJourneys_params-2974054-2.patch | 928 bytes | john_a |
Comments
Comment #2
john_a CreditAttribution: john_a as a volunteer commentedPatch created, please review
Comment #3
john_a CreditAttribution: john_a as a volunteer commentedComment #4
john_a CreditAttribution: john_a as a volunteer commentedPatch was incorrect - it applied $params to URL tokens and URL params.
Patch recreated and added unit test for no params.
Please review. Expected results:
Comment #5
john_a CreditAttribution: john_a as a volunteer commentedpatch applies cleanly, unit tests pass:
Comment #6
john_a CreditAttribution: john_a as a volunteer commentedComment #7
john_a CreditAttribution: john_a as a volunteer commented