Mark,

I am afraid that customers may claim that OWB-626 is needed  for seam 3 /
delta -spike. I am trying to understand the problem and see if a fix can be
provided. This fix based on your comments regarding spec compliance will be
disabled by default and ONLY enabled via some JVM system property or an
openwebbeans property, till the (CDI & JSF) specs. provides better
guidance. Thanks for the info.  on when we destroy the conversation scope.

what do you think ?

--cheers,
Rohit



On Sun, Mar 4, 2012 at 2:51 AM, Mark Struberg (Commented) (JIRA) <
[email protected]> wrote:

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