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

AutoComplete does not support QueryParameter/dependsOn

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      I noticed that when doAutoCompleteXXXXX methods have optional parameters (using @QueryParameter and optionaly @RelativePath, no checkDependsOn attributes (or an equivalent for auto-complete) are generated in the HTML.

      Of course on the client side, there is currently no code supporting this as well, the ac.generateRequest function will have to be updated to fetch the values of the dependencies and append them to the url, like the check behavior does (see the registerValidator function).

          [JENKINS-37241] AutoComplete does not support QueryParameter/dependsOn

          Guillaume DELORY created issue -
          Tim Jacomb made changes -
          Assignee New: Tim Jacomb [ timja ]
          Tim Jacomb made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tim Jacomb made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Tim Jacomb made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/9959 (Web Link)" [ 30157 ]
          Mark Waite made changes -
          Released As New: https://www.jenkins.io/changelog/?query#v2.489
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            timja Tim Jacomb
            gdelory Guillaume DELORY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: