Application.createComponent(FacesContext,Resource) register listeners twice and
call createComponent(String) directly
---------------------------------------------------------------------------------------------------------------------
Key: MYFACES-2711
URL: https://issues.apache.org/jira/browse/MYFACES-2711
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
In the method Application.createComponent(FacesContext,Resource), it does not
take into account that Application.createComponent(String) scan for annotations
and register listeners attached to the component. At the end of the method, we
have a code that scan again for annotations, duplicate them.
It was also found another bug. If it is used a wrapper for Application object,
the method calls createComponent(String) directly. It should retrieve the
Application instance from FacesContext and call the one of that instance, to
ensure proper wrapping
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.