ICEfaces
  1. ICEfaces
  2. ICE-1826

CoreUtils.resolveResourceURL() does not properly resolve resources from the context root

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      any

      Description

      When forwarding from the root context to a subdirectory, the icefaces-d2d.js is rendered as:

      ../../xmlhttp/1183867293468/icefaces-d2d.js

        Issue Links

          Activity

          Philip Breau created issue -
          Philip Breau made changes -
          Field Original Value New Value
          Support Case References https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4157
          Support Customer Ref. #s 743
          Mircea Toma made changes -
          Assignee Mircea Toma [ mircea.toma ]
          Hide
          Mircea Toma added a comment -

          The relative paths for the Javascript files are not calculated properly when the page has been forwarded from another page residing in a different directory.

          Show
          Mircea Toma added a comment - The relative paths for the Javascript files are not calculated properly when the page has been forwarded from another page residing in a different directory.
          Hide
          Philip Breau added a comment -

          This problem affects any resource, whether javascript, css, or image, resolved from the context root when the full servlet request path is not used. This will occur in the following scenarios:

          The page is forwarded to in a subdirectory.
          The welcome page exists in a subdirectory

          Show
          Philip Breau added a comment - This problem affects any resource, whether javascript, css, or image, resolved from the context root when the full servlet request path is not used. This will occur in the following scenarios: The page is forwarded to in a subdirectory. The welcome page exists in a subdirectory
          Philip Breau made changes -
          Summary icefaces-d2d.js has incorrect path when forwarding to a subdirectory CoreUtils.resolveResourceURL() does not properly resolve resources from the context root
          Philip Breau made changes -
          Link This issue blocks ICE-1914 [ ICE-1914 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #14562 Fri Jul 27 11:24:28 MDT 2007 mircea.toma Fix resource resolution -- ICE-1910, ICE-1826, ICE-1886
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/ServletExternalContext.java
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
          Hide
          Mircea Toma added a comment -

          Fixed resource resolution.

          Show
          Mircea Toma added a comment - Fixed resource resolution.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 1.6.1 [ 10070 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1
          Assignee Mircea Toma [ mircea.toma ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: