Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1441

Missing parameter init in the UiSchema Trigger builder

Details

    • Bug
    • Status: Done
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.10
    • component-form
    • All
    • Small

    Description

      Missing intialization of the Parameter instance with key and path parameters in the method:

      UiSchema#Trigger#Builder#withParameter(final String key, final String path)
      

      https://github.com/Talend/component-runtime/blob/master/component-form/component-form-model/src/main/java/org/talend/sdk/component/form/model/uischema/UiSchema.java#L315

      should be something like below

      Parameter parameter = new Parameter();
      parameter.setKey(key);
      parameter.setValue(value);                
      this.parameters.add(parameter);
      

      Attachments

        Activity

          People

            aleboulanger Aurélien Leboulanger
            aleboulanger Aurélien Leboulanger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: