Author: pete.muir(a)jboss.org
Date: 2010-02-01 14:49:43 -0500 (Mon, 01 Feb 2010)
New Revision: 5698
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ConversationTestPhaseListener.java
Log:
CDITCK-104
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ConversationTestPhaseListener.java
===================================================================
---
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ConversationTestPhaseListener.java 2010-02-01
19:44:24 UTC (rev 5697)
+++
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/client/ConversationTestPhaseListener.java 2010-02-01
19:49:43 UTC (rev 5698)
@@ -65,7 +65,7 @@
BeanManager beanManager = configuration.getManagers().getManager();
Conversation conversation = OldSPIBridge.getInstanceByType(beanManager,
Conversation.class);
HttpServletResponse response = (HttpServletResponse)
event.getFacesContext().getExternalContext().getResponse();
- response.addHeader(AbstractConversationTest.CID_HEADER_NAME,
conversation.getId());
+ response.addHeader(AbstractConversationTest.CID_HEADER_NAME,
conversation.getId() == null ? " null" : conversation.getId());
response.addHeader(AbstractConversationTest.LONG_RUNNING_HEADER_NAME,
String.valueOf(!conversation.isTransient()));
response.addHeader(Cloud.RAINED_HEADER_NAME, new
Boolean(OldSPIBridge.getInstanceByType(beanManager, Cloud.class).isRained()).toString());
response.addHeader(ACTIVE_BEFORE_APPLY_REQUEST_VALUES_HEADER_NAME, new
Boolean(activeBeforeApplyRequestValues).toString());
Show replies by date