[
https://issues.apache.org/jira/browse/OWB-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126462#comment-15126462
]
Emily Jiang commented on OWB-1109:
----------------------------------
One customer noticed this and reported it as not complying with CDI spec. He
also made a valid point that if this check happens, it is much easier to debug
an application programming error if a conversation was called when the scope is
not active rather than silently failed.
> 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)