[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2606) Natural conversation id already in use in seam-bay example

Jacob Orshalick (JIRA) jira-events at lists.jboss.org
Sun Feb 10 16:38:03 EST 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2606?page=comments#action_12399044 ] 
            
Jacob Orshalick commented on JBSEAM-2606:
-----------------------------------------

It appears the issue is that there is still a TODO to handle conversationName in org.jboss.seam.core.ConversationPropagation.restoreNaturalConversationId(Map) which seems to be the issue.  I am adding a patch that handles retrieving the conversationId based on the parameter sent by the s:conversationName component.  This works for my implemented example.

The disadvantage to this is that the value for the <item-id> in the seam-bay example must be sent as an  f:param.  This would not be an issue if the s:conversationName tag not only sent the provided conversationName but based on the conversationName provided retrieved the conversation parameter-name and parameter-value from the context.  This could then be sent along with the request in the same manner as the conversationName is currently allowing the conversation to be resumed.

What do you guys think?

> Natural conversation id already in use in seam-bay example
> ----------------------------------------------------------
>
>                 Key: JBSEAM-2606
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2606
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.1.GA
>            Reporter: Jacob Orshalick
>
> In the seam-bay example if you view the itemdetail page, then select "Place Bid" a natural conversation is started.  Using the back button to return to itemdetail and once again selecting "Place Bid" results in:  java.lang.IllegalStateException: Conversation id is already in use: PlaceBid:<item-id>
> This has been noted in the latest from the trunk.  This may be the same issue as JBSEAM-2124.  I have also written an application that demonstrates the same issue.

-- 
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