Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53353

Jenkins requires restart when installing plugins with TransientViewActionFactories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      jenkins-core:2.140
    • Similar Issues:
    • Released As:
      2.144

      Description

      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

        Attachments

          Activity

          Show
          agentgonzo Steve Arch added a comment - https://github.com/jenkinsci/jenkins/pull/3608/files

            People

            • Assignee:
              agentgonzo Steve Arch
              Reporter:
              agentgonzo Steve Arch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: