You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jay Sartoris (JIRA)" <de...@myfaces.apache.org> on 2015/04/03 20:17:02 UTC

[jira] [Created] (MYFACES-3975) PreClearFlashEvent called on every JSF request regardless of Flash use

Jay Sartoris created MYFACES-3975:
-------------------------------------

             Summary: PreClearFlashEvent called on every JSF request regardless of Flash use
                 Key: MYFACES-3975
                 URL: https://issues.apache.org/jira/browse/MYFACES-3975
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-344
    Affects Versions: 2.2.7
            Reporter: Jay Sartoris
            Priority: Minor


The new javax.faces.event.PreClearFlashEvent EvenListener in JSF 2.2 is called on every request, regardless of it uses Flash or not. 

On a normal request without any use of Flash, you can see this output from the SystemEventListener in the attached testcase:
--------
PreClearFlashEvent processEvent called

PreClearFlashEventListener is and instance of PreClearFlashEvent
--------

I tested this same application with Mojarra RI 2.2.10 and it does not call this SystemEventListener at all.  I only see it called when using Flash on Mojarra.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)