[ 
https://issues.jenkins-ci.org/browse/JENKINS-10555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Melvyn de Kort updated JENKINS-10555:
-------------------------------------

       Priority: Critical  (was: Major)
    Component/s: extended-choice-parameter
                     (was: plugin)
    
> Extended choice plugin does not work with remote builds
> -------------------------------------------------------
>
>                 Key: JENKINS-10555
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10555
>             Project: Jenkins
>          Issue Type: Bug
>          Components: extended-choice-parameter
>         Environment: Hudson 1.395, Jenkins 1.383 with Extended choice Plugin 
> 0.4
>            Reporter: Danny Staple
>            Priority: Critical
>
> The extended choice plugin will fail when used with remote builds. The 
> parameter will not be recognised as being passed.
> In the plugin the following function is incorrect:
> {code()}
> public ParameterValue createValue(StaplerRequest request) {
>                String value[] = request.getParameterValues(getName());
>                if (value == null) {
>                        return getDefaultParameterValue();
>                }
>                return null;
>        }
> {code}
> Note here that if the parameter is not set, it will set a default value. 
> Otherwise it will always return NULL when it should return the current value, 
> as something like a new ExtendedChoiceParameterValue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to