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

Form validation with dependency to another field not working as expected

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: