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

Blank screen when user edits a step extension with no propertyDefinitionSteps

    XMLWordPrintable

Details

    • % %
    • Hide

      Checkout syndesis-extensions project and edit the syndesis-extension-definition.json from syndesis-extension-log-body project.

      Set the propertyDefinitionSteps to an empty list:

      "propertyDefinitionSteps" : [],
      

      Build and install it on syndesis (Customization/Extension) screen. Then proceed to create an integration and adds the Log Body step. After adding it, save and edit the integration, click on Configure, then the empty screen is show and the browser console logs the error message.

      https://github.com/syndesisio/syndesis-extensions/blob/master/syndesis-extension-log-body/src/main/resources/META-INF/syndesis/syndesis-extension-definition.json

      Show
      Checkout syndesis-extensions project and edit the syndesis-extension-definition.json from syndesis-extension-log-body project. Set the propertyDefinitionSteps to an empty list: "propertyDefinitionSteps" : [], Build and install it on syndesis (Customization/Extension) screen. Then proceed to create an integration and adds the Log Body step. After adding it, save and edit the integration, click on Configure , then the empty screen is show and the browser console logs the error message. https://github.com/syndesisio/syndesis-extensions/blob/master/syndesis-extension-log-body/src/main/resources/META-INF/syndesis/syndesis-extension-definition.json

    Description

      When there is an extension of type "Steps" and the propertyDefinitionSteps (from json file) is an empty list, user can add the step into an integration, but when try to edit, there is a blank screen. The browser console shows the following error:

      Error: "FATAL: Descriptor doesn't have any definition"
      

      The error is throw from connectionFunctions.ts, getActionSteps function.

      Another minor, but related problem, when adding a extension step with no properties, the message There are no properties to configure for this action. is not displayed.

      Attachments

        Activity

          People

            stlewis_2 Stan Lewis
            cmiranda@redhat.com Claudio Miranda
            Stefan Veres Stefan Veres
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: