[JIRA] (JENKINS-54006) No value is passed in case of Multiple Formatted HTML Active Choice Reactive Reference parameter

824 views
Skip to first unread message

pooja.gangurde@yahoo.com (JIRA)

unread,
Oct 11, 2018, 2:03:02 AM10/11/18
to jenkinsc...@googlegroups.com
Pooja Gangurde created an issue
 
Jenkins / Bug JENKINS-54006
No value is passed in case of Multiple Formatted HTML Active Choice Reactive Reference parameter
Issue Type: Bug Bug
Assignee: Bruno P. Kinoshita
Attachments: config.xml
Components: active-choices-plugin
Created: 2018-10-11 06:02
Environment: Jenkins 2.126
Plugin Version: 2.1
Labels: ActiveChoices html value
Priority: Minor Minor
Reporter: Pooja Gangurde

There is a pipeline job with multiple Active choices parameter and dependent Active choice Reactive Reference Parameters. Consider following scenario:

  1. Active Choice: Tomcat. Active choice Reactive Reference Parameters: Find files from repository related to Tomcat and html to return the choices for user to select the version
  2. Active Choice: SVN client. Active choice Reactive Reference Parameters: Find files from repository related to SVN client and html to return the choices for user to select the version

To return the value, I am using:

Active choice Reactive Reference Parameter 1:

html=html+"""
<input type="radio" json="${it}" name="value" value="${it}">${it as String}
<br>
"""

Active choice Reactive Reference Parameter 2:

html2=html2+"""
<input type="radio" json="${it}" name="value" value="${it}">${it as String}
<br>
"""

I am using different htmls to return the list but the input name is "value" for both  Reactive Reference Parameters. In this case, the radio button toggles between Choice 1 and choice 2 while selection.

If the input name is changed, I am able to select any option from both Choice 1 and Choice 2 but the value is not passed to the pipeline.

How is it possible to pass the value to the pipeline.

PFA config.xml

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

pooja.gangurde@yahoo.com (JIRA)

unread,
Oct 11, 2018, 4:26:02 AM10/11/18
to jenkinsc...@googlegroups.com

imoutsatsos@msn.com (JIRA)

unread,
Mar 9, 2019, 9:59:01 AM3/9/19
to jenkinsc...@googlegroups.com

imoutsatsos@msn.com (JIRA)

unread,
Mar 9, 2019, 10:00:02 AM3/9/19
to jenkinsc...@googlegroups.com
Ioannis Moutsatsos commented on Bug JENKINS-54006
 
Re: No value is passed in case of Multiple Formatted HTML Active Choice Reactive Reference parameter

Have you tried to go into the advanced options of the AC Reactive Reference and check the Omit value field option? Otherwise the default 'null' value is passed into the build

pooja.gangurde@yahoo.com (JIRA)

unread,
Mar 12, 2019, 6:44:02 AM3/12/19
to jenkinsc...@googlegroups.com

I had checked the Omit value field option as well.

In my attached config.xml:  <omitValueField>true</omitValueField>i.e. checked for all the values.

The problem is in case of multiple formatted htmls used, I am able to return value only for one parameter since input name="value". If I change this, no value is passed at all. 

dubrsl@gmail.com (JIRA)

unread,
May 8, 2019, 11:54:02 AM5/8/19
to jenkinsc...@googlegroups.com

Yes, I acknowledge this issue. If add more 1 reactive reference parameters you can't make selection from the first.

It's blocker for me to use plugin.

Reply all
Reply to author
Forward
0 new messages