Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11441

Google Calendar connector: Update Event form values not overriding the values coming in through flow

    XMLWordPrintable

Details

    • % %

    Description

      (Migrated from https://github.com/syndesisio/syndesis/issues/3887)

      Author: Jan Stastny
      Assignees: Andrea Cosentino,

      This is a...

      [pre][code]
      [ ] Feature request
      [ ] Regression (a behavior that used to work and stopped working in a new release)
      [x] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
      [ ] Documentation issue or request
      [/code][/pre]

      Description

      When using an Update Event step in combination with an incoming Event instance (resulting from Get by id, or Get events actions) the values from the Update Event form are not being set.

      The only way to achieve that is placing a Data Mapper before the Update Event step and map fields only partially (those that I don't want to update) and then in 'Update Event' form I can specify the values to update. (Or set the values as constants in data mapper, which I think is even worse option.)

      To rephrase a bit, if I specify both mapping and form value, then form value is ignored. When considering the following simple scenario this can be surprising to user. (As they have explicitly set the values to the form.)

      Scenario:
      I'd like to be also able to send the event through the flow with/without a data mapper, just chaining actions 'Get a specific Event' -> 'Update Event', where the form of update step would have the overriding values specified.

      In more complex scenarios, where I want to dynamically set all the values of event, this is not an issue, as data mapper works as expected.

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-hbraun Heiko Braun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: