You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2006/09/20 12:05:21 UTC
svn commit: r448143 -
/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java
Author: imario
Date: Wed Sep 20 03:05:21 2006
New Revision: 448143
URL: http://svn.apache.org/viewvc?view=rev&rev=448143
Log:
wrongly closed conversation with status "failed" instead of "ok"
Modified:
myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java?view=diff&rev=448143&r1=448142&r2=448143
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/ConversationContext.java Wed Sep 20 03:05:21 2006
@@ -141,7 +141,7 @@
Conversation conversation = (Conversation) conversations.get(name);
if (conversation != null)
{
- while (conversationStack.size()>0)
+ while (conversationStack.size()>1)
{
Conversation dependingConversation = (Conversation) conversationStack.get(conversationStack.size()-1);
endConversation(dependingConversation, false);