Web Flow Plugin
  1. Web Flow Plugin
  2. GPWEBFLOW-84

bindData used in flow actions appears to be broken in 1.1

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      We had code like this in our flow action, which worked fine in 1.0.4:

      // Bind the form data for payment to payment object, don't bind in the "account" or "payment" relationships
      bindData(flow.payment, params['payment'], ['account', 'payment'])
      

      This no longer binds any data in 1.1. I tried the new exclude: variant:

      // Bind the form data for payment to payment object, don't bind in the "account" or "payment" relationships
      bindData(flow.payment, params['payment'], [exclude:['account', 'payment']])
      

      And the result was still no binding.

      The workaround is to use the new scheme:

      flow.payment.properties[long-list-of-all-properties-here] = params['payment']
      

      ...but this breaks existing apps that use bindData in flows so should be fixed.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marc Palmer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development