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

Form validation with dependency to another field not working as expected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When you have two fields whose validations are inter-related:

      <f:entry field="aaa">
        <f:textbox />
      </f:entry>
      <f:entry field="bbb">
        <f:select />
      </f:entry>
      

      Then the check method on "aaa" that uses two values:

      FormValidation doCheckAaa(@QueryParameter String value, @QueryParameter String bbb) { ... }
      

      The check method should trigger when the select field changes its value, but stephenc found that it doesn't.

          [JENKINS-19124] Form validation with dependency to another field not working as expected

          Kohsuke Kawaguchi created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Geoff Cummings made changes -
          Link New: This issue is related to JENKINS-19248 [ JENKINS-19248 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150571 ] New: JNJira + In-Review [ 193584 ]

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: