[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2505) ServletContexts instance returns null request during JSF request
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Feb 1 14:57:04 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2505?page=all ]
Pete Muir closed JBSEAM-2505.
-----------------------------
Fix Version/s: 2.1.0.GA
Resolution: Done
Thanks Jacob, I applied your patch. I guess this was an oversight.
> ServletContexts instance returns null request during JSF request
> ----------------------------------------------------------------
>
> Key: JBSEAM-2505
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2505
> Project: JBoss Seam
> Issue Type: Bug
> Components: JSF Integration
> Affects Versions: 2.0.1.CR1
> Reporter: Jacob Orshalick
> Assigned To: Pete Muir
> Priority: Blocker
> Fix For: 2.1.0.GA
>
> Attachments: JBSEAM-2505.patch
>
>
> The ServletContexts.instance().getRequest() currently returns null during a JSF request. I would think this should be returning the external context for a JSF request. Remoting handlers, ContextualHttpServletRequest, and the SoapRequestHandler all set the HttpServletRequest into the ServletContexts instance. I have applied a patch in the FacesLifecycle.beginRequest() and it does the trick. I would be happy to submit the patch if you agree. Thanks.
--
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