You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/01/11 23:31:40 UTC

[jira] [Commented] (OWB-1109) Conversation scope check is not happening when calling methods on Conversation

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

Romain Manni-Bucau commented on OWB-1109:
-----------------------------------------

Should be done in other places for perf reasons. Do you have a failing test showing this issue?

> Conversation scope check is not happening when calling methods on Conversation
> ------------------------------------------------------------------------------
>
>                 Key: OWB-1109
>                 URL: https://issues.apache.org/jira/browse/OWB-1109
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.0.0
>         Environment: n/a
>            Reporter: Emily Jiang
>
> CDI spec states:
> If any method of Conversation is called when the conversation scope is not active, a ContextNotActiveException is thrown.
> In the OWB ConversationImpl.java, when calling the methods of Conversation, there is no scope active check performed at all. In the OWB 1.1.6, there is no such check. I checked the latest version of the ConversationImpl.java, I cannot see any scope check either.



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