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

John D. Ament commented on DELTASPIKE-745:
------------------------------------------

seems like scope creep.

This really should be minor - as pointed out on the mailing list previously, 
when dealing with multiple threads you need to call createContextControl to 
avoid issues.  It looks like the issues are weld specific so maybe we want to

- rename createContextControl to getThreadedContextControl
- Add appropriate checks around injected references.
- improve docs around how to handle multi-threaded.

> cdictr-weld ContextControl.startContext doesn't properly start RequestScoped 
> context
> ------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-745
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-745
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: CdiControl
>    Affects Versions: 1.0.3
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.0.4
>
>
> I added a multi threading test into our TCK to check if 
> ContextControl#startContext works properly even for new threads.
> But this blows up with a ContextNotActiveException deep inside Weld.
> I need some help from Weld guys to check what we do wrong.



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

Reply via email to