[JIRA] (JENKINS-51872) Dropdown options appear blank in Declarative Directive Generator

1 view
Skip to first unread message

rzhou@cloudbees.com (JIRA)

unread,
Jun 11, 2018, 6:51:02 PM6/11/18
to jenkinsc...@googlegroups.com
Ronnie Zhou created an issue
 
Jenkins / Bug JENKINS-51872
Dropdown options appear blank in Declarative Directive Generator
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screen Shot 2018-06-11 at 3.50.14 PM.png
Components: pipeline
Created: 2018-06-11 22:50
Priority: Minor Minor
Reporter: Ronnie Zhou

Dropdown options are not rendered properly in the new Declarative Directive Generator.

Steps to reproduce:

1. Go to Manage Jenkins>Global Tool Configuration>Gradle Installations and then add two or more random Gradle versions.

2. Create a Pipeline job and go to the Pipeline Syntax section at /job/PipelineName/directive-generator/.

3. Click on Declarative Directive Generator

4. Select tools: Tools from the dropdown menu.

5. Add Gradle.

You'll notice that the Version drop down has multiple items in it, but the display value is empty. If you choose one and click Generate Declarative Directive you'll notice that it will have the name of the Gradle versions you added previously depending on which empty dropdown item you choose.

The HTML sets a value for the option element, but doesn't seem to also include the name string in the <option>NAMESHOULDBEHEREBUTISNT</option> element.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Jun 13, 2018, 1:33:01 PM6/13/18
to jenkinsc...@googlegroups.com
Andrew Bayer updated an issue
Change By: Andrew Bayer
Component/s: pipeline-model-definition-plugin
Component/s: pipeline

andrew.bayer@gmail.com (JIRA)

unread,
Jun 13, 2018, 1:33:02 PM6/13/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Aug 9, 2018, 12:37:01 PM8/9/18
to jenkinsc...@googlegroups.com
Andrew Bayer started work on Bug JENKINS-51872
 
Change By: Andrew Bayer
Status: Open In Progress
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

andrew.bayer@gmail.com (JIRA)

unread,
Aug 9, 2018, 12:39:01 PM8/9/18
to jenkinsc...@googlegroups.com

andrew.bayer@gmail.com (JIRA)

unread,
Aug 9, 2018, 12:40:01 PM8/9/18
to jenkinsc...@googlegroups.com
Andrew Bayer commented on Bug JENKINS-51872
 
Re: Dropdown options appear blank in Declarative Directive Generator

Well, that's a weird one. It's due to SECURITY-624 having a strange interaction with the l:renderOnDemand tag. Anyway, it only is a problem with core 2.89.4 and 2.107 and greater, and I've got a PR up fixing it at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/281.

andrew.bayer@gmail.com (JIRA)

unread,
Aug 24, 2018, 10:45:02 AM8/24/18
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:25:40 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages