Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A action-provider
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • action-provider
  • Merge requests
  • !80

CiviCRM Action Provider, Explode function does not trim spaces from exploded values which causes CiviCRM API call to fail when updating a custom field with multiple values.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged justinfreeman (Agileware) requested to merge justinfreeman/action-provider:CIVICRM-2005 into master Jun 28, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

CiviCRM Action Provider, Explode function does not trim spaces from exploded values which causes CiviCRM API call to fail when updating a custom field with multiple values.

For example, currently when the Explode action processes a string like: "1, 2, 3, 4, 5" and the action will return an array of elements: ['1',' 2',' 3',' 4',' 5'].

With this change the returned array of elements will be: ['1','2','3','4','5']

Agileware Ref: CIVICRM-2005

Edited Jun 28, 2022 by justinfreeman (Agileware)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: CIVICRM-2005