callbackRegistry is not injected to event listener when appended to listener group using REPLACE_ORIGINAL duplication strategy

Description

Create a new event listener.
Append it to the event listener group using a duplication strategy with REPLACE_ORIGINAL.
The (CallbackRegistryConsumer/JpaBootstrapSensitive) injections are not performed on the listener.

This can lead to NullPointerException when the listener is invoked (for example for a listener which is a CallbackRegistryConsumer, as the callbackRegistry field is not set).

(Note that the injections are performed if the listener is prepended or appended with no duplication strategy).

Activity

Show:
Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created November 1, 2018 at 2:53 AM
Updated November 15, 2018 at 1:43 PM
Resolved November 2, 2018 at 6:02 PM