[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek updated DELTASPIKE-1129:
-----------------------------------------
    Attachment: DELTASPIKE_1129_test.patch

> 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, DELTASPIKE_1129_test.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)

Reply via email to