Browse Source

SPR-6423, fixing bug while adding new nested conversation

conversation
Micha Kiener 14 years ago
parent
commit
5bfb99a72b
  1. 2
      org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManagerImpl.java

2
org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManagerImpl.java

@ -246,7 +246,7 @@ public class ConversationManagerImpl implements ConversationManager { @@ -246,7 +246,7 @@ public class ConversationManagerImpl implements ConversationManager {
// nest the new conversation to the current one, if available and
// set the current one as the parent of the new one
if (joinMode.mustBeNested()) {
newConversation.setParentConversation(currentConversation, joinMode.mustBeIsolated());
currentConversation.addChildConversation(newConversation, joinMode.mustBeIsolated());
currentConversation.deactivated(joinMode.mustBeIsolated() ? ConversationDeactivationType.NEW_ISOLATED
: ConversationDeactivationType.NEW_NESTED, newConversation);
}

Loading…
Cancel
Save