Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script plugin non-instance configuration fails #1120

Closed
MartinMulder opened this issue Feb 27, 2015 · 1 comment
Closed

Script plugin non-instance configuration fails #1120

MartinMulder opened this issue Feb 27, 2015 · 1 comment
Labels
Milestone

Comments

@MartinMulder
Copy link

I have a script plugin (workflow node step) and try to use "Project" or "Framework" scoped config (with RD 2.4.2).
The plugin is listed in the "List plugins", and if selected I get:

infraconfigurations path:
Path to infra-configurations SVN checkout
configure project: project.plugin.WorkflowNodeStep.mo-esb-package.icpath=value

Plugin provider config:

     - name: mo-esb-package
       service: WorkflowNodeStep
       title: ESB Packager
       description: Package an ESB node
       plugin-type: script
       script-interpreter: /bin/bash
       script-file: esb-node-package.sh
       config:
         - type: String
           name: icpath
           title: infraconfigurations path
           required: true
           description: Path to infra-configurations SVN checkout
           scope: ProjectOnly

project.properties line:

project.plugin.WorkflowNodeStep.mo-esb-package.icpath=/tmp

When I add the "ESB Packager" to a workflow, and try to save it, I see an error in the service.log:

2015-02-27 13:31:14,085 ERROR WorkflowController - Plugin configuration was not valid
@MartinMulder MartinMulder changed the title Script plugin non-instance configuration Script plugin non-instance configuration fails Feb 27, 2015
@gschueler gschueler added the bug label Mar 2, 2015
@gschueler gschueler added this to the 2.5.0 milestone Mar 2, 2015
@gschueler
Copy link
Member

workaround would be to remove required: true from the property config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants