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

Configure tab freezes when using both the HTML5 notifier plugin and the Android Emulator Plugin

    XMLWordPrintable

Details

    Description

      When trying to configure a job with both the HTML5 notifier plugin and the Android Emulator plugin the job configuration wont load. I tried again in a fresh installation and installed the plugins separately and the issue remained.

      Attachments

        Activity

          orrc Christopher Orr added a comment - - edited

          The HTML5 Notifier Plugin is including "prototype-1.7.js" into the configuration page which appears to prevent the "Form.findMatchingInput" method in hudson-behavior.js from working properly, which breaks the Android Emulator Plugin.

          When I removed prototype-1.7.js, the job configuration page loaded properly again.

          This is related, in some way, to JENKINS-11618.

          orrc Christopher Orr added a comment - - edited The HTML5 Notifier Plugin is including "prototype-1.7.js" into the configuration page which appears to prevent the "Form.findMatchingInput" method in hudson-behavior.js from working properly, which breaks the Android Emulator Plugin. When I removed prototype-1.7.js, the job configuration page loaded properly again. This is related, in some way, to JENKINS-11618 .

          In Jenkins 1.458, the Chrome JS console reports the following error and the "Loading" overlay remains in place:

          Uncaught TypeError: Object #<Object> has no method 'findMatchingInput'
            (anonymous function)
            e.targetUrl               hudson-behavior.js:339
            registerValidator         hudson-behavior.js:344
            apply                     behavior.js:73
            (anonymous function)      behavior.js:79
            Behaviour.applySubtree    behavior.js:68
            Behaviour.apply           behavior.js:54
            (anonymous function)      behavior.js:49
            window.onload             behavior.js:92
          
          orrc Christopher Orr added a comment - In Jenkins 1.458, the Chrome JS console reports the following error and the "Loading" overlay remains in place: Uncaught TypeError: Object #<Object> has no method 'findMatchingInput' (anonymous function) e.targetUrl hudson-behavior.js:339 registerValidator hudson-behavior.js:344 apply behavior.js:73 (anonymous function) behavior.js:79 Behaviour.applySubtree behavior.js:68 Behaviour.apply behavior.js:54 (anonymous function) behavior.js:49 window.onload behavior.js:92
          jieryn jieryn added a comment -

          Starting with Jenkins 1.455 prototype v1.7 is bundled, html5-notifier-plugin does not include its own prototype.js

          jieryn jieryn added a comment - Starting with Jenkins 1.455 prototype v1.7 is bundled, html5-notifier-plugin does not include its own prototype.js
          jieryn jieryn added a comment - html5-notifier-plugin:1.2 was released: http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/html5-notifier-plugin/1.2/

          People

            orrc Christopher Orr
            pelto Johannes Pelto-Piri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: