Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Component/s: Bridge
-
Labels:None
-
Environment:Just-ice with facelets
-
ICEsoft Forum Reference:
Description
When the URI specified for the redirection event starts with '/' the AppContext is not beign prepended to the url, making the redirection url relative to the application server and not to the application it self.
Example:
connectionLostRedirectURI = '/login.iface'
Current url when the event fires: http://server/AppContext/path1/path2/index.iface
Redirected url: http://server/login.iface
The redirected url should be: http://server/AppContext/login.iface
To solve this problem I have made some changes to the file status.js to correctly prepend the AppContext if the url given starts with a '/'. You can find this file and the icefaces-d2d.js with this change included(generated by the ant build of the bridge subproject) in forum thread http://www.icefaces.org/JForum/posts/list/0/10297.page
Those changes where made over the source release 1.7.2 available to download from the home site.
Example:
connectionLostRedirectURI = '/login.iface'
Current url when the event fires: http://server/AppContext/path1/path2/index.iface
Redirected url: http://server/login.iface
The redirected url should be: http://server/AppContext/login.iface
To solve this problem I have made some changes to the file status.js to correctly prepend the AppContext if the url given starts with a '/'. You can find this file and the icefaces-d2d.js with this change included(generated by the ant build of the bridge subproject) in forum thread http://www.icefaces.org/JForum/posts/list/0/10297.page
Those changes where made over the source release 1.7.2 available to download from the home site.
Activity
Simon Paredes
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000009LP5z] |
Deryk Sinotte
made changes -
Assignee | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19080 | Fri Jul 17 08:29:48 MDT 2009 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Deryk Sinotte
made changes -
Fix Version/s | 1.8.2 [ 10190 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-RC1 [ 10210 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Hi guys,
Are you planning to put this in, in some future release? Because this fix is really usefull for those who need to use redirect, instead of forward, to a subpath url. Without this fix, the functionality given by connectionLost and sessionRedirect is useless.
Please, comment on this.
Thanks.
InJeNiErO