TransientViewActionFactories are only ever called once per view, see here
This means that if you install a plugin that affects the view (via a TransientViewActionFactory) and getActions() has already been called for that view, your implementation of TransientViewActionFactory will not be called and your action will not happen (eg, populating a sidepanel entry etc).
We should either implement an ExtensionListener to dirty the cached transientActions when a new plugin is loaded, or do away with the caching altogether
Originally reported by
agentgonzo, imported from: Jenkins requires restart when installing plugins with TransientViewActionFactories
- assignee:
agentgonzo
- status: Resolved
- priority: Minor
- component(s): core
- resolution: Fixed
- resolved: 2018-09-28T07:52:23+00:00
- votes: 0
- watchers: 1
- imported: 2025-11-24
Raw content of original issue
TransientViewActionFactories are only ever called once per view, see here
This means that if you install a plugin that affects the view (via a TransientViewActionFactory) and getActions() has already been called for that view, your implementation of TransientViewActionFactory will not be called and your action will not happen (eg, populating a sidepanel entry etc).
We should either implement an ExtensionListener to dirty the cached transientActions when a new plugin is loaded, or do away with the caching altogether
- environment:
jenkins-core:2.140
TransientViewActionFactories are only ever called once per view, see here
This means that if you install a plugin that affects the view (via a TransientViewActionFactory) and getActions() has already been called for that view, your implementation of TransientViewActionFactory will not be called and your action will not happen (eg, populating a sidepanel entry etc).
We should either implement an ExtensionListener to dirty the cached transientActions when a new plugin is loaded, or do away with the caching altogether
Originally reported by
agentgonzo, imported from: Jenkins requires restart when installing plugins with TransientViewActionFactories
Raw content of original issue
jenkins-core:2.140