audit-log-plugin icon indicating copy to clipboard operation
audit-log-plugin copied to clipboard

Audit Log plugin breaks Blue Ocean auto-refresh

Open alexanderrtaylor opened this issue 5 years ago • 1 comments

Issue: When installing the audit log plugin, the latest version of Blue ocean is unable to refresh the page and you must manually hit refresh on the browser.

How to reproduce:

  1. Install the latest LTS of Jenkins
  2. Install the latest version of the blue ocean plugins (1.19.0)
  3. Install the Audit log plugin
  4. Observe that builds will not complete until you hit refresh in the browser

The failing browser console says:

Navigated to http://127.0.0.1:8080/blue/organizations/jenkins/TestPipeline/
blueocean-core-js.js:2929 Browser configuration of @jenkins-cd/logging is explained at https://tfennelly.github.io/jenkins-js-logging/index.html#browser-config
jenkins-blueocean-core-js-1573576130150-ikl41:1 GET http://127.0.0.1:8080/sse-gateway/listen/jenkins-blueocean-core-js-1573576130150-ikl41 404 (Not Found)
blueocean.js:58198 Unhandled Error: "TypeError: Cannot read property 'dispatcherId' of undefined\n    at http://127.0.0.1:8080/adjuncts/3ca3e3e5/io/jenkins/blueocean/blueocean-core-js.js:3370:74"

The Successful one only says:

Navigated to http://127.0.0.1:8080/blue/organizations/jenkins/TestPipeline/
blueocean-core-js.js:2929 Browser configuration of @jenkins-cd/logging is explained at https://tfennelly.github.io/jenkins-js-logging/index.html#browser-config

So it looks like the audit log plugin somehow either breaks a Javascript file or something I am very confused about

alexanderrtaylor avatar Nov 12 '19 21:11 alexanderrtaylor

+1 I'm seeing the same problem on latest version of the plugin, Jenkins and blue ocean plugins

d-zalewski avatar Jul 17 '20 15:07 d-zalewski