[webbeans-issues] [JBoss JIRA] Resolved: (WBRI-262) ServletLifecycle should only end request when destroying session if using a mock request
Dan Allen (JIRA)
jira-events at lists.jboss.org
Mon May 11 16:16:47 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Allen resolved WBRI-262.
----------------------------
Resolution: Done
> ServletLifecycle should only end request when destroying session if using a mock request
> ----------------------------------------------------------------------------------------
>
> Key: WBRI-262
> URL: https://jira.jboss.org/jira/browse/WBRI-262
> Project: Web Beans
> Issue Type: Bug
> Components: Contexts
> Affects Versions: 1.0.0.PREVIEW1
> Reporter: Dan Allen
> Assignee: Dan Allen
> Fix For: 1.0.0.PREVIEW2
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> When a session ends, the ServletLifecycle performs cleanup. However, it is blindly creating a mock request and then ending it before the method returns. This breaks web applications that attempt to end the session in the middle of a request. The routine should detect if an active request exists and honor it.
> At the same time, all of Web Beans should be cognizant of the fact that a session can be terminated at any time and should check for the existence of a session in life-cycle routines.
--
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 weld-issues
mailing list