Bug 1006623
| Summary: | Cross-context forward/include call from another web app breaks HttpRequestContext cleanup | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Lyle Wang <lywang> |
| Component: | CDI/Weld | Assignee: | Stuart Douglas <sdouglas> |
| Status: | CLOSED DUPLICATE | QA Contact: | Marek Schmidt <maschmid> |
| Severity: | unspecified | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.1.1 | CC: | jlivings, pmuir |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-11 00:14:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1003581 | ||
| Bug Blocks: | |||
|
Description
Lyle Wang
2013-09-10 23:55:07 UTC
*** This bug has been marked as a duplicate of bug 956631 *** Ron Šmeral <rsmeral> updated the status of jira WELD-1415 to Reopened 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 Jozef Hartinger <jharting> updated the status of jira WELD-1415 to Resolved |