ICEfaces
  1. ICEfaces
  2. ICE-3753

connectionLostRedirectURI and sessionExpiredRedirectURI redirection doesn't include the AppContext if the URI starts with '/'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Just-ice with facelets

      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.

        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 ]
        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 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Simon Paredes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: