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

          Oliver Gondža created issue -

          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.
          Oliver Gondža made changes -
          Description Original: When plot plugin publisher (Plot build data) is configured for a job and the configuration is opened again, the loading will never finish.

          The javascript error is identified as {{TypeError: registry is undefined}}.
          New: 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:{{noformat}}
          var respondersForEvent = registry.get(eventName);
          {{noformat}}
          Summary Original: TypeError: registry is undefined in prototype.js:5621 when plot plugin publisher configuration opened New: TypeError: registry is undefined in prototype.js:5621 when plot plugin publisher configuration reopened
          Oliver Gondža made changes -
          Description Original: 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:{{noformat}}
          var respondersForEvent = registry.get(eventName);
          {{noformat}}
          New: 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:{noformat}
          var respondersForEvent = registry.get(eventName);
          {noformat}

          Russell B added a comment -

          This is related to issue JENKINS-18585.

          Russell B added a comment - This is related to issue JENKINS-18585 .
          Russell B made changes -
          Link New: This issue is related to JENKINS-18585 [ 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.

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

              Created:
              Updated:
              Resolved: