[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2524) Exceptions ending conversations

Alessandro Lazarotti (JIRA) jira-events at lists.jboss.org
Mon Jan 28 06:51:21 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2524?page=all ]

Alessandro Lazarotti updated JBSEAM-2524:
-----------------------------------------

    Attachment: jboss-seam-booking.ear

Instructions:

The attachment is the example "booking" changed to reproduce the error.


The classes are changed:
 - method bookHotel() of HotelBookingAction (forcing a exception)

 - the pages.xml mapping the exception:

    <exception class="java.lang.Exception">
        <redirect view-id="/main.xhtml">
            <message severity="error">Test Handle Error Message</message>
        </redirect>
    </exception>
	

Steps:

Start seam-booking and choose a hotel. Click in "Book Hotel" button. 
The exception will redirect to main.xhtml. In the Firefox and IE7 (from w. Vista), the result is not the same (In IE7 does not appear whenever the error message). 

Select some hotels, click "Book Hotel" and switch workspaces several times. 

See. The workpaces exists but the hotels not ("The conversation ended, timed out or was processing another request"). But it is not timed out.

The ConversationEntry is lock when the exception Occurs, and the object are discarded (but no the workspace).

> Exceptions ending conversations
> -------------------------------
>
>                 Key: JBSEAM-2524
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2524
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.GA
>         Environment: Windows Vista, Jboss APPServer 4.2, InternetExplorer 7 - FireFox 2.0.0
>            Reporter: Alessandro Lazarotti
>             Fix For: 2.1.0.GA
>
>         Attachments: jboss-seam-booking.ear
>
>
> If any exception is thrown, objects in long-running conversation are discarded.
> I described how to simulate this in the forum:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127694&postdays=0&postorder=asc&start=10

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