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

Missing parameter init in the UiSchema Trigger builder

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • All
    • Small

      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);
      

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

              Created:
              Updated:
              Resolved: