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

dynamically added credential add button has no function

      Every newly added credential add button (inside the f:repeatable) has no function.

      Steps to reproduce:

      1. install Performance Signature Plugin
      2. go to <JENKINS>/configure
      3. add a new Dynatrace server
      4. add a new Credential/Profile pair
      5. press the credential add button

      expected behaviour: open 'add credentials' popup

      actual behaviour: nothing happens, button has no function

      Global Configuration code location: https://github.com/jenkinsci/performance-signature-dynatrace-plugin/blob/master/dynatrace/src/main/resources/de/tsystems/mms/apm/performancesignature/dynatrace/PerfSigGlobalConfiguration/config.jelly

          [JENKINS-42546] dynamically added credential add button has no function

          Raphael Pionke added a comment - This issue is maybe related to  https://issues.jenkins-ci.org/browse/JENKINS-23160

          stephenconnolly Do you have any input on this? I have no clue why the dynamic creation of the repeatable field blocks the credential add button function.

          Raphael Pionke added a comment - stephenconnolly Do you have any input on this? I have no clue why the dynamic creation of the repeatable field blocks the credential add button function.

          The issue has something to do with the time to display the global configuration page. The "add credentials" button randomly gets a functions or not.

          Raphael Pionke added a comment - The issue has something to do with the time to display the global configuration page. The "add credentials" button randomly gets a functions or not.

          rpionke correct, this is basically JENKINS-23160 you will need to replicate the hack solution IIUC

          Stephen Connolly added a comment - rpionke correct, this is basically JENKINS-23160 you will need to replicate the hack solution IIUC

          stephenconnolly mhhh i read through the issue and PR, the proposed fix was included in credentials-1.16. im using credentials-2.1.14 (2.1.0 as dependency). Im using credential Dynatrace profile pairs to store multiple credentials Dynatrace profile combinations in the global configuration. So how should i implement a fix for these pairs? Can you please give me a hint?

          Raphael Pionke added a comment - stephenconnolly mhhh i read through the issue and PR, the proposed fix was included in  credentials-1.16 . im using credentials-2.1.14 (2.1.0 as dependency). Im using credential Dynatrace profile pairs  to store multiple credentials Dynatrace profile combinations in the global configuration. So how should i implement a fix for these pairs? Can you please give me a hint?

            rpionke Raphael Pionke
            rpionke Raphael Pionke
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: