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

Mark Struberg commented on OWB-626:
-----------------------------------

Hi Rohit!

Do you really need this for a customer? Actually I think the spec is not 100% 
clear as it says 'until the end of the request' but doesn't say if it means the 
servlet request or the faces request. In OWB we decided to end the conversation 
at the end of the faces request because afterwards the JSF behaviour is 
undefined anyway. We played through quite some use cases and didn't find a sane 
usage but quite some arguments against it. 
E.g. if you manually close your session, then the CDI conversation would 
continue per the strict spec, even if the session (containing the conversation) 
doesn't exist anymore. This interpretation also would brake the asyncSupported 
use case in the future, I fear. 
                
> Conversation Scope isn't accessible after RENDER_RESPONSE phase
> ---------------------------------------------------------------
>
>                 Key: OWB-626
>                 URL: https://issues.apache.org/jira/browse/OWB-626
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.1
>            Reporter: Thierry Robin
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>         Attachments: OWB626ConversationPhaseListener.java
>
>
> In CDI 1.0, the Conversation Scope is normaly accessible from after 
> RESTORE_VIEW phase in JSF, to the end of the Response.
> But It's not the case during the after phase(RENDER_RESPONSE) of any 
> PhaseListener implementation.

--
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