[ 
https://issues.apache.org/jira/browse/EXTCDI-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146360#comment-13146360
 ] 

Mark Struberg commented on EXTCDI-239:
--------------------------------------

Oki I see where the problem is. It's the non-deterministic behaviour depending 
on whether a view already got served or not

viewA?x=a -> viewB?y=b  

vs

viewB?x=c -> viewA?x=a -> viewB?y=b  

Actually it might be ok to clean the bean if another view gets served via GET. 
Will need to think about it.
In any case the safe bet is to not use the same backing bean for 2 GET pages.

                
> Expire RestScoped beans if it's used in different views
> -------------------------------------------------------
>
>                 Key: EXTCDI-239
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-239
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF20-Module
>    Affects Versions: 1.0.2
>            Reporter: Marcus Büttner
>            Assignee: Mark Struberg
>
> I have to views (viewA and viewB) and both use the same model. If I change 
> the view from A to B via GET the old model should be expired.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to