[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1292) conversations re-started in pageflows
Andy Gibson (JIRA)
jira-events at lists.jboss.org
Fri May 4 13:47:52 EDT 2007
conversations re-started in pageflows
-------------------------------------
Key: JBSEAM-1292
URL: http://jira.jboss.com/jira/browse/JBSEAM-1292
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.1.GA
Environment: Windows XP, JBoss 4.0.5, Eclipse & Exadel, IE 6.09, Seam-gen generated app, using MySQL 5 as the backend.
Reporter: Andy Gibson
See forum post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043286#4043286
The problem is that when you use the <begin-conversation> tag in pages.xml with a pageflow, any time the page is rendered Seam attemps to re-perform the conversation requirements. (starting, joining or creating a new nested one).
Note, this is ONLY a problem when using a pageflow, without a pageflow, everything runs fine.
If you use @Begin annotations on a method with a pageflow, then everything is fine.
It appears to only be when using begin-conversation in pages.xml with a pageflow.
For the difference options, here are the results :
<begin-conversation> results in an error (beginning conversation from long running conversation)
<begin-conversation join="true"> works ok because it just joins the conversation it started first time it hit the page
<begin-conversation nested="true"> causes a new nested conversation to be created each time the page is rendered
Somewhat similar to issue http://jira.jboss.org/jira/browse/JBSEAM-608 which was related to the pageflow re-starting on each render, except now it is the conversation that is trying to re-start on each render.
At the end of my attached forum post, I describe why using just join=true is not a practical solution for more complex scenarios involving nested flows.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list