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

GuiceExtensionFinder does not correctly pick up new GuiceExtensionAnnotation

    • 2.454

      Created from from from https://github.com/jenkinsci/acceptance-test-harness/issues/1526

      When a plugin that has an OptionalExtension from the variant plugin is installed at the same time as the variant plugin its OptionalExtensions are not evaluated and do not become active post the installation.

      It is expected that installing the variant plugin at the same time as any plugin that uses it should cause those extensions to be evaluated.

      Because The variant plugin is itself an extension of GuiceExtensionAnnotation the ExtensionList of this type is not refreshed until after GuiceFinder has been refresh()}}ed, causing the {{OptionalExtensionProcessor from the variant plugin not to be initially loaded.

          [JENKINS-72998] GuiceExtensionFinder does not correctly pick up new GuiceExtensionAnnotation

          James Nord added a comment -

          Proposing for LTS so that the ATH can become green without workarounds, could be risky so feel free to reject based on risk.

          James Nord added a comment - Proposing for LTS so that the ATH can become green without workarounds, could be risky so feel free to reject based on risk.

            teilo James Nord
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: