Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2392

BeanDeploymentModules fallback not entirely correct

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.4.3.Final, 3.0.0.Final
    • Fix Version/s: 2.4.4.Final, 3.0.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      BeanDeploymentModules, if registered, returns a fallback "default" BeanDeploymentModule (whose isWebModule() returns false) for a bean archive which does not have a EEModuleDescriptor. As a result @Initialized(ApplicationScoped.class) event is fired twice for a WAR without EEModuleDescriptor. Once from HttpContextLifecycle and then also from WeldStartup. The same applies to @Destroyed(ApplicationScoped.class).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manovotn Matěj Novotný
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: