[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1000) Propagation of conversations with pageflow in testing environment.
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Jul 29 16:49:07 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated JBSEAM-1000:
------------------------------
Fix Version/s: The future
(was: 2.1.0.GA)
> Propagation of conversations with pageflow in testing environment.
> ------------------------------------------------------------------
>
> Key: JBSEAM-1000
> URL: https://jira.jboss.org/jira/browse/JBSEAM-1000
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.0.GA
> Environment: windows 2000 jboss-4.0.5.GA
> Reporter: Denis Karpov
> Assignee: Pete Muir
> Fix For: The future
>
>
> I think there is bug in testing environment (propagation of conversations with pageflow does not work)
> In this test there is 2 requests .
> In the first I start conversation and pageflow
> In the second conversation is lost.
> If I do not start pageflow then conversation propagates.
> Code:
> public class TOrdTest extends SeamTest{
> private static final Log log = LogFactory.getLog( TOrdTest.class );
>
> @Test
> public void Test1() throws Exception
> {
> String id = new FacesRequest(){
> @Override
> protected void invokeApplication() throws Exception {
> Conversation.instance().begin();
> Pageflow.instance().begin("val_buy"); // uses start-state
> setOutcome("browse");
> log.info("##### 1 Conversation_ID "+ Conversation.instance().getId());
> assert isLongRunningConversation();
> }
> @Override
> protected void renderResponse() throws Exception {
> }
> }.run();
> id = new FacesRequest("/exchange/buy_readonly.xhtml",id){
> @Override
> protected void beforeRequest()
> {
> log.info("#####beforeRequest Conversation_ID "+ getConversationId());
> }
> @Override
> protected void applyRequestValues() throws Exception {
> log.info("##### 2 Conversation_ID "+ Conversation.instance().getId()+" "+getConversationId());
> }
> @Override
> protected void invokeApplication() throws Exception {
> //Conversation.instance().beginNested();
> log.info("##### 3 Conversation_ID "+ Conversation.instance().getId()+" "+getConversationId());
> assert isLongRunningConversation();
> }
> }.run();
> }
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list