Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F form-processor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • form-processor
  • Merge requests
  • !28

fix multiple-value parameters

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged JonGold requested to merge JonGold/form-processor:multiple-value-parameter-fix into master Aug 20, 2021
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Form Processor doesn't correctly handle multiple-value parameters in an action.

Steps to Replicate

  • Create a new Form Processor with three inputs.
  • Add an action of type "Create/Update Activity".
  • Assign input 1 to "Source Contact", and inputs 2 and 3 to "Target Contact(s)".
  • Save and close.
  • In Try Out, assign values to the three inputs that correspond to existing contact IDs.
  • Press Submit.

Expected Response

A new activity is created with target contacts as specified in inputs 2 and 3.

Actual Response

"error_message": "Action multi value test failed. Caused by target_contact_id is required"

Comments

Provider->createdMappedParameterBag() checks if a mapping is an array - but Form Processor doesn't explode the mapping string before passing it to createdMappedParameterBag().

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: multiple-value-parameter-fix