[
https://issues.apache.org/jira/browse/MYFACES-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-2973.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-SNAPSHOT
Assignee: Leonardo Uribe
I checked the javadoc again, and in this moment given the current
implementation it is more understandable. In theory, it is supposed a wrapper
should be used to hold listener references, to prevent serialize component
instances on the state.
> UIComponent.unsubscribeFromEvent calls
> getApplication().unsubscribeFromEvent() instead of modifying
> _systemEventListenerClassMap
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-2973
> URL: https://issues.apache.org/jira/browse/MYFACES-2973
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.0.3-SNAPSHOT
> Reporter: Max Starets
> Assignee: Leonardo Uribe
> Fix For: 2.0.3-SNAPSHOT
>
>
> UIComponent.unsubscribeFromEvent() calls
> getFacesContext().getApplication().unsubscribeFromEvent(), while the event
> listener added by subscribeToEvent() still remains in
> _systemEventListenerClassMap. This means that the component system event
> listener cannot be removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.