• 2.369

      If you put <f:textarea codemirror-mode="clike"/> in a Jelly page, and there is a doCheckWhatever method for the field in the corresponding Descriptor, the validation will not work—it will only validate the contents of the text area when the page was loaded, regardless of subsequent edits.

      The cause seems to be that e.value (used from controlValuetoValueqstargetUrlregisterValidatorTEXTAREA.validated) does not update dynamically when CodeMirror is used, unless and until e.codemirrorObject.save() is called.

          [JENKINS-15604] checkUrl and codemirror-mode do not mix

          Jesse Glick created issue -
          Jesse Glick made changes -
          Attachment New: x.diff [ 25683 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-23151 [ JENKINS-23151 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-9130 [ JENKINS-9130 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-25631 [ JENKINS-25631 ]
          Jesse Glick made changes -
          Labels Original: codemirror javascript New: codemirror javascript workflow
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-28769 [ JENKINS-28769 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146360 ] New: JNJira + In-Review [ 176595 ]
          Andrew Bayer made changes -
          Labels Original: codemirror javascript workflow New: codemirror javascript pipeline workflow
          Andrew Bayer made changes -
          Labels Original: codemirror javascript pipeline workflow New: codemirror javascript pipeline
          Alexander Brandes made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/7071 (Web Link)" [ 28216 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: