Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70988

Credentials Binding step repeatable property uses non-unique ID

XMLWordPrintable

    • 2.400

      Similar to the fix for JENKINS-70139 to have booleanRadio use non-unique IDs in core Jenkins, the repeatableHeteroProperty construct has generated IDs, so when you have a repeatable describable (e.g. Credentials Binding step) then this ID will be duplicated for all instances.

      Credentials Binding plugin example - you can see in the repeating Username and password (separated) sections only one radio button can be selected / active. This is more than just visual, the values are not enabled.

      https://github.com/jenkinsci/credentials-binding-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/credentialsbinding/impl/BindingStep/config.jelly#L34

            jglick Jesse Glick
            tbeukhof Tom
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: