Description:
|
The equals() implementation is incorrect
@Override public boolean equals(Object obj) { return this == obj || delegate().equals(obj); }
if the obj is a WeldMethodExpression, it returns false which cause add duplicated Listener Please see Mojarra javax.faces.componentUIComponentBase public void subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) { ... if (!listenersForEventClass.contains(facesLifecycleListener)) { listenersForEventClass.add(facesLifecycleListener); }
}
|