ICEfaces
  1. ICEfaces
  2. ICE-9183

Showcase: Resource loading problems when org.icefaces.coalesceResources=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: Framework, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces3.3.0 Build11 or ICEfaces3 trunk
      org.icefaces.coalesceResources=true
      Browser: IE9,IE10 (No issues in Chrome/Firefox)
    • Assignee Priority:
      P1

      Description

      To reproduce:
      1) Build / deploy showcase (make sure org.icefaces.coalesceResources=true in web.xml) and load in IE9 or IE10
      2) Load a demo page and then clear the cache
      3) Hit enter on the URL to reload the app after the cache is cleared

      The following JS error will appear numerous times:
      Message: 'ice' is undefined
      Line: 20
      Char: 1
      Code: 0
      URI: http://localhost:8081/showcase/showcase.jsf

      Also, the page will not load properly (see screenshot).

      Issue can not be reproduced with org.icefaces.coalesceResources=false

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34504 Tue Apr 23 06:45:44 MDT 2013 mircea.toma ICE-9183, ICE-9163 Introduced AddTheme system event listener that adds the theme resource before the view is rendered. Changed CoalescedResource.userAgentNeedsUpdate to return true when the browser request is missing if-modified-since header. Modified ResourceHandler to recalculated the list on every GET, instead of just the first one. Added org.icefaces.generateHeadUpdate to the showcase web.xml.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResource.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/fixjsf.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/CoalescingResourceHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/HeadRenderer.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: