rundeck / rundeck

Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
http://rundeck.org
Apache License 2.0
5.51k stars 915 forks source link

UI plugin not running on all pages #7597

Closed fishikles closed 2 years ago

fishikles commented 2 years ago

Describe the bug I'm trying to create a UI plugin, it should run on all pages:

- pages: '*'
  scripts:
    - js/test.js

However it is only running on some pages, for example it's not running on the project dashboard, jobs or nodes pages.

I've tested this with the rainbow-rundeck) plugin as well and it exhibits the same behaviour.

I tested on a fresh docker instance and it worked as expected, so this may be and issue with my configuration , but I couldn't find anything in the documentation detail configurtion that affects ui plugins.

My Rundeck detail

To Reproduce Steps to reproduce the behaviour:

  1. Load a UI plugin (even very basic examples e.g. rainbow-rundeck)
  2. Navidate to a project's dashboard page
  3. The plugin is not loaded

Expected behaviour I expect a plugin that support all pages to be loaded on all pages.

Desktop (please complete the following information):

Additional context This only seems to affect my existing instance of RunDeck, I spun up a docker image of 3.2.8 and it worked as expected

fdevans commented 2 years ago

Unfortunately Version 3.2.8 is a bit out of our support window. If you run into the problem on a current version let us know.

MiyamaMizuki329 commented 2 years ago

I've run into the same problem on the current version (4.4.0 2022-07-14). The plugin doesn't work on all pages. I can't access the rundeckPage object either. The object is available on Dashboard and Project Home page, and I can access them from the console, as well as javascript plugin, but the object doesn't exist on the jobs menu and each job's page.