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

TypeError: registry is undefined in prototype.js:5621 when plot plugin publisher configuration reopened

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core, plot-plugin
    • None
    • 1.522

      When plot plugin publisher (Plot build data) is configured for a job and the configuration is reopened, the loading will never finish.

      The javascript error is identified as TypeError: registry is undefined at:

      var respondersForEvent = registry.get(eventName);
      

          [JENKINS-18674] TypeError: registry is undefined in prototype.js:5621 when plot plugin publisher configuration reopened

          i can confirm this issue ; if i remove the <hudson.plugins.plot.PlotPublisher plugin="plot@1.5"> section in the config.xml of the project and restart jenkins, the config for plots gets lost but the configure tab is working again.

          Fabrice Flore-Thébault added a comment - i can confirm this issue ; if i remove the <hudson.plugins.plot.PlotPublisher plugin="plot@1.5"> section in the config.xml of the project and restart jenkins, the config for plots gets lost but the configure tab is working again.

          Russell B added a comment -

          This is related to issue JENKINS-18585.

          Russell B added a comment - This is related to issue JENKINS-18585 .

          Baba Buehler added a comment -

          This issue is still present with 1.523

          Baba Buehler added a comment - This issue is still present with 1.523

          Russell B added a comment -

          A fix has been merged. Hopefully we'll see this included by 1.525.

          Russell B added a comment - A fix has been merged . Hopefully we'll see this included by 1.525.

          Martin Olsson added a comment -

          This is still an issue for me in 1.525.

          Martin Olsson added a comment - This is still an issue for me in 1.525.

          Robert Hook added a comment -

          Definite issue still in 1.525 - I found that if I disabled the plot plugin, then the configuration screen will work, but of course the plot configurations will be lost. We can work around this short term by preserving the plot plugin configuration from the xml file, and reinstating it later when this issue has been resolved.

          Robert Hook added a comment - Definite issue still in 1.525 - I found that if I disabled the plot plugin, then the configuration screen will work, but of course the plot configurations will be lost. We can work around this short term by preserving the plot plugin configuration from the xml file, and reinstating it later when this issue has been resolved.

          Russell B added a comment -

          Correct - although the fix is in the master branch, it has yet to be pulled for the release candidate. I stated 1.525 because I assumed that the fix would be pulled in by now, sorry for the confusion. I'm not sure how to go about encouraging the administrators to do this?

          Russell B added a comment - Correct - although the fix is in the master branch , it has yet to be pulled for the release candidate . I stated 1.525 because I assumed that the fix would be pulled in by now, sorry for the confusion. I'm not sure how to go about encouraging the administrators to do this?

          I have created reproducing selenium test[1] that works on master so I am resolving the issue. Fixed by https://github.com/jenkinsci/jenkins/commit/12c3efc02d42e30ab6a7018cf0f89e5e0b881d07. It is present in rc branch so I assume it will be in 1.526 (the build is broken so I have not verified the fix against rc branch).

          [1] https://github.com/jenkinsci/selenium-tests/commit/5cc84aa2b0a369030e9cea3ea875f99821480028

          Oliver Gondža added a comment - I have created reproducing selenium test [1] that works on master so I am resolving the issue. Fixed by https://github.com/jenkinsci/jenkins/commit/12c3efc02d42e30ab6a7018cf0f89e5e0b881d07 . It is present in rc branch so I assume it will be in 1.526 (the build is broken so I have not verified the fix against rc branch). [1] https://github.com/jenkinsci/selenium-tests/commit/5cc84aa2b0a369030e9cea3ea875f99821480028

            nidaley nidaley
            olivergondza Oliver Gondža
            Votes:
            14 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: