-
Bug
-
Resolution: Done
-
Minor
-
2.4.2.SP1, 3.0.0.CR2
-
None
-
None
An event with qualifier @Initialized(RequestScoped.class) should be fired when the request context is initialized (and another one before/after it is destroyed). The events are not fired during @PostConstruct callback, if Weld activates the context for the callback only, ie. it was not active before.
In fact, I don't see any reasonable use case for this but the events should be fired in order to comply with the spec (the TCK currently does not contain a related test).
We should implement the fix carefully so that the performance overhead is negligible.
- relates to
-
WELD-2375 @Initialized(RequestScoped.class) and related events not fired during asynchronous observer notification
- Resolved