[ 
https://issues.apache.org/jira/browse/MYFACES-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-2517.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2
         Assignee: Leonardo Uribe

I have checked and all tests we have pass, so we can remove that check

Thanks to Ingo Hofmann and Michael Kurz for provide this fix

> Problem with flash and GET
> --------------------------
>
>                 Key: MYFACES-2517
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2517
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-beta-2
>
>
> The flash does not work for GET requests. With the two page fragments below 
> the value of the flash is never displayed on navigating between them.
> page1.xhtml:
> <c:set target="#{flash}" property="name" value="Michi (from 1)"/>
> <h:outputText value="#{flash.name}"/>
> <h:link outcome="page2" value="to page2"/>
> page2.xhtml:
> <c:set target="#{flash}" property="name" value="Michi (from 2)"/>
> <h:outputText value="#{flash.name}"/>
> <h:link outcome="page1" value="to page1"/>
> I had a look at FlashImpl and what I did not quite understand was the check 
> for isPostback() in doPrePhaseActions(). It is ovious that with this check 
> the "old" flash will not be passed over if the request is not a postback. 
> When I remove the check everything works as I would expect it.
> What do you guys think, is this a bug or did I miss something?
> Thanks to Ingo Hofmann for making me aware of this behavior.

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

Reply via email to