openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1664383 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java
Date Thu, 05 Mar 2015 16:01:41 GMT
Author: rmannibucau
Date: Thu Mar  5 16:01:40 2015
New Revision: 1664383

URL: http://svn.apache.org/r1664383
Log:
sessionId can be null as well for conversation producer

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java?rev=1664383&r1=1664382&r2=1664383&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java
Thu Mar  5 16:01:40 2015
@@ -55,7 +55,7 @@ public class ConversationProducer extend
 
         //If conversation id is not null, this means that
         //conversation is propogated
-        if (conversationId != null)
+        if (sessionId != null && conversationId != null) // sId can be null as well
on invalid requests but we want a transient conv
         {
             //Gets propogated conversation
             conversation = webBeansContext.getConversationManager().getPropogatedConversation(conversationId,
sessionId);



Mime
View raw message