[ https://issues.apache.org/jira/browse/DELTASPIKE-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249723#comment-15249723 ]
Romain Manni-Bucau commented on DELTASPIKE-1129: ------------------------------------------------ [~johndament] it affects last OWB and tomee (by inheritance) releases. Real issue is assumptions done about session scope (= portability is fine for not web scopes) > check portability of context-control > ------------------------------------ > > Key: DELTASPIKE-1129 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1129 > Project: DeltaSpike > Issue Type: Task > Components: CdiControl > Affects Versions: 1.6.0 > Environment: owb/tomee7 > Reporter: Gerhard Petracek > Assignee: Mark Struberg > Fix For: 1.6.1 > > Attachments: DELTASPIKE_1129.patch > > > ContextControl#stopContext(RequestScoped.class) also stops the > session-context (at least in case of the current snapshot of tomee7) which > requires the following workaround: > {code} > contextControl.stopContext(RequestScoped.class); > contextControl.startContext(RequestScoped.class); > contextControl.startContext(SessionScoped.class); > {code} > however, such a workaround is not portable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)