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

Error in data mapper when editing an API Provider flow which changed due to API definition change

XMLWordPrintable

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

      Author: Andrej Smigala
      Assignees: unassigned

      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

      In an API Provider integration, after changing the return type of an operation that's already implemented, trying to update the data mapping causes the following error:
      ``

      Data Mapper UI Initialization Error: Could not load document 'i-LaUfMv856-V-nkQhsB7z': undefined undefined 
      

      ``
      !image

      Steps to reproduce:

      1. create an API Provider integration with a flow that requires a data mapping
      1. edit the operation so that the data mapping would not be valid (e.g. change the return type)
      1. save the API definition
      1. open the appropriate flow, notice a warning badge on the result
      1. open the data mapper to change the mapping, the above error is shown

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

                Created:
                Updated:
                Resolved: