Page MenuHomePhabricator

Plugin install error shown when loading a page (`Plugin install error: TypeError: self.onAction ... delete-project.js`)
Closed, InvalidPublicBUG REPORT

Description

I'm seeing an error message pop-up every time a Gerrit page is loaded.

Plugin install error: TypeError: self.onAction is not a function from https://gerrit.wikimedia.org/r/plugins/delete-project/static/delete-project.js

This did not show previously on Gerrit 2.15, only after the upgrade.

Steps to Reproduce:
Visit a page when logged in. It doesn't show if you navigate afterwards, you'll have to reload the page.

Actual Results:

Plugin install error: TypeError: self.onAction is not a function from https://gerrit.wikimedia.org/r/plugins/delete-project/static/delete-project.js

is visible.

Expected Results:
There is no error message shown.

Event Timeline

Try clearing your browser cache, and see if it still occurs.

Mainframe98 closed this task as Invalid.Jun 28 2020, 8:34 AM

Try clearing your browser cache, and see if it still occurs.

Yup, that did it. Thanks!

QChris renamed this task from Plugin install error shown when loading a page to Plugin install error shown when loading a page (`Plugin install error: TypeError: self.onAction ... delete-project.js`).Jun 28 2020, 10:17 AM
QChris added subscribers: Legoktm, QChris.

It seems for some the Ctrl + F5 or Stift + Ctrl + F5 (or whatever combination your browser wants) was not sufficient.

If someone still runs into the issue after pressing their browsers F5 combination, please try clearing the browser caches for good.

For example on Firefox follow steps 1-6 from https://support.mozilla.org/en-US/kb/how-clear-firefox-cache#w_clear-the-cache

Thanks to @Legoktm for debugging with me and verifying that the above works.