You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Freedman (JIRA)" <de...@myfaces.apache.org> on 2010/02/11 17:42:30 UTC

[jira] Created: (PORTLETBRIDGE-116) Bridge (BridgeImpl) Lifecycle listener should only process if this instance (thread) is the active in the lifecycle

Bridge (BridgeImpl) Lifecycle listener should only process if this instance (thread) is the active in the lifecycle
-------------------------------------------------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-116
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-116
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
          Components: Impl
    Affects Versions: 2.0.0-alpha, 1.0.0-beta
            Reporter: Michael Freedman
            Assignee: Michael Freedman


A Faces Lifecycle is shared among instances in the web app.  This means a LifecyleListener must take care and only run/process if it determines that it has been called from its particular usage/run of the Lifecycle.  It determines this by ensuring that the FacesContext in the passed event is the same as the current FacesContext (FacesContext.getCurrentInstance) i.e. the one in our thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PORTLETBRIDGE-116) Bridge (BridgeImpl) Lifecycle listener should only process if this instance (thread) is the active in the lifecycle

Posted by "Michael Freedman (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/PORTLETBRIDGE-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Freedman resolved PORTLETBRIDGE-116.
--------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0

Tests to see if the FacesContext in teh event is the same as the CurrentInstance.

> Bridge (BridgeImpl) Lifecycle listener should only process if this instance (thread) is the active in the lifecycle
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-116
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-116
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>          Components: Impl
>    Affects Versions: 1.0.0-beta, 2.0.0-alpha
>            Reporter: Michael Freedman
>            Assignee: Michael Freedman
>             Fix For: 1.0.0, 2.0.0
>
>
> A Faces Lifecycle is shared among instances in the web app.  This means a LifecyleListener must take care and only run/process if it determines that it has been called from its particular usage/run of the Lifecycle.  It determines this by ensuring that the FacesContext in the passed event is the same as the current FacesContext (FacesContext.getCurrentInstance) i.e. the one in our thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.