Bug 1006623 - Cross-context forward/include call from another web app breaks HttpRequestContext cleanup
Summary: Cross-context forward/include call from another web app breaks HttpRequestCon...
Keywords:
Status: CLOSED DUPLICATE of bug 956631
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CDI/Weld
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Stuart Douglas
QA Contact: Marek Schmidt
Russell Dickenson
URL:
Whiteboard:
Depends On: 1003581
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 23:55 UTC by Lyle Wang
Modified: 2013-09-19 07:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: WeldListener would clean up the bound context request when servlet processed finished, even if it was being sent to another servlet Consequence: A NullPointerException would result when the subsequent servlet tried to access the context Fix: Do not clean up the bound context if the servlet is being redirected. Result: No exception occurs when getRequestDispatcher().include() is used to forward requests between servlets.
Clone Of:
Environment:
Last Closed: 2013-09-11 00:14:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker Weld-1415 0 Major Resolved Cross-context include call from another web app breaks HttpRequestContext cleanup 2019-02-08 02:00:35 UTC

Description Lyle Wang 2013-09-10 23:55:07 UTC
Description of problem:

Reference JIRA https://issues.jboss.org/browse/Weld-1415

Version-Release number of selected component (if applicable):

weld-core-1.1.13.Final-redhat-1

Comment 1 James Livingston 2013-09-11 00:14:10 UTC

*** This bug has been marked as a duplicate of bug 956631 ***

Comment 2 JBoss JIRA Server 2013-09-18 16:49:10 UTC
Ron Šmeral <rsmeral> updated the status of jira WELD-1415 to Reopened

Comment 3 JBoss JIRA Server 2013-09-18 16:49:10 UTC
Ron Šmeral <rsmeral> made a comment on jira WELD-1415

Only the inclusion is resolved. The cross-context forwarding still does not work. See the updated test: https://github.com/weld/core/pull/372

Comment 4 JBoss JIRA Server 2013-09-19 07:12:45 UTC
Jozef Hartinger <jharting> updated the status of jira WELD-1415 to Resolved

Comment 5 JBoss JIRA Server 2013-09-19 07:12:45 UTC
Jozef Hartinger <jharting> made a comment on jira WELD-1415

Closing not to break release notes. I am going to create another issue for forwards.


Note You need to log in before you can comment on or make changes to this bug.