ICEfaces
  1. ICEfaces
  2. ICE-7100

The ckeditor.js resource does not reload after cookies are cleared

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 3.0.RC2, 3.0
    • Labels:
      None
    • Environment:
      ICEfaces 2, Rich Text Editor

      Description

      The Component Showcase preloads the resources required for the Rich Input Text editor so that they are in the head before the component is dynamically added to the page.

      To recreate the problem:

      1) Load the component showcase main page. Check Firebug or the console for whatever browser you are using and ensure that the resource loaded. The resource link typically looks like this:

       http://localhost:8080/component-showcase/icefaces/resource/LTE5NDk5MzQyNTU=//ckeditor.js

      There is also related resource links that look like this:

      http://localhost:8080/component-showcase/icefaces/resource/LTE5NDk5MzQyNTU=/

      2) Clear cookies from your browser.

      3) Reload the page. The above resource links will result in a 404 Not found. The response content comes from the SessionBasedResourceDispatcher:

                  externalContext.responseSendError(404, "Could not find requested dynamic resource.");

      Because it's a Session based dispatcher, clearing the cookies also removes the session id. However, because the resources don't reload, the Rich Input Text no longer functions.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25964 Wed Oct 19 09:50:18 MDT 2011 deryk.sinotte ICE-7100: remove extra slash in src URL that WebSphere appears not to like
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextSetup.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25287 Fri Aug 19 13:35:58 MDT 2011 mircea.toma ICE-7100 Make setup fields non-static to avoid class loading issues in multi-application EAR packaged deployments.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextSetup.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25284 Fri Aug 19 12:54:04 MDT 2011 mircea.toma ICE-7100 Register rich test resources with each session based ResourceRegistry. Mark sessions that have their resources registered to avoid re-registering them.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextSetup.java

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: