This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git
The following commit(s) were added to refs/heads/master by this push:
new b8ba652 [OWB-1355] OwbRequestContextController does not work with web
contexts service
b8ba652 is described below
commit b8ba6527144238606ca9cd640b9e11003dfee4d6
Author: Romain Manni-Bucau
AuthorDate: Sat Nov 21 16:21:46 2020 +0100
[OWB-1355] OwbRequestContextController does not work with web contexts
service
---
.../apache/webbeans/context/control/OwbRequestContextController.java| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
b/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
index d48852b..3dd4383 100644
---
a/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
+++
b/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
@@ -40,7 +40,7 @@ public class OwbRequestContextController implements
RequestContextController
@Override
public boolean activate()
{
-final Context ctx =
contextsService.getCurrentContext(RequestScoped.class);
+final Context ctx =
contextsService.getCurrentContext(RequestScoped.class, false);
if (ctx == null || !ctx.isActive())
{
contextsService.startContext(RequestScoped.class, null);