Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P04
-
Component/s: Framework
-
Labels:None
-
Environment:Seam Application with EPS push
Description
The original case was after some time with a push application in Seam the link renderer would somehow manage to pull the underlying application name into the rendered link url. It turned out that the request objects were being held by seam filters, and they were being reused by the underlying server, and this caused the context path from subsequent requests to be available (incorrectly) to the link renderer via standard externalContext calls.
The solution was to provide a filter that held the context-path from the original most request, and to NOT delegate calls to getContextPath to the underlying request object.
This apparently works, but was provided as a Demo Patch only, and now it's time to include it into the product.
The solution was to provide a filter that held the context-path from the original most request, and to NOT delegate calls to getContextPath to the underlying request object.
This apparently works, but was provided as a Demo Patch only, and now it's time to include it into the product.
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28631 | Tue Apr 03 16:28:03 MDT 2012 | greg.dick | |
Files Changed | ||||
ADD
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ContextPathPreservingFilter.java
|
Greg Dick
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] | |
Assignee Priority | P1 | |
Assignee | Greg Dick [ greg.dick ] |
Greg Dick
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
This Filter should be enabled by adding the following to web.xml
<filter>
<filter-name>ContextPreservingFilter</filter-name>
<filter-class>com.icesoft.faces.webapp.http.servlet.ContextPathPreservingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ContextPreservingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>