You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by rm...@apache.org on 2015/03/05 17:01:41 UTC
svn commit: r1664383 -
/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java
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);