Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13728

Editor cant display after page load if page is opened directly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.0.Alpha3
    • Fix Version/s: 4.5.0.Beta1
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      Fifefox 30, Chrome 35.0.1916.153, EAP 6.3.

    • Steps to Reproduce:
      Hide

      1. Reset cache in your web browser
      2. Open http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml?template=plain
      3. RichEditor is not displayed.
      4. Hint F5 or refresh button.
      5. RichEditor is displayed.

      Show
      1. Reset cache in your web browser 2. Open http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml?template=plain 3. RichEditor is not displayed. 4. Hint F5 or refresh button. 5. RichEditor is displayed.

      Description

      Component richEditor is not displayed after page load if browser has empty cache and page is opened directy. For example Google Chrome anonymous mode, Firefox with cleared cache (ctrl+shift+d+delete - clear all) opening url http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml?template=plain. Console displays these error messages:

      Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/metamer/faces/components/richEditor/config.js?t=E4KA
       
      Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/metamer/faces/components/richEditor/skins/moono/editor.css?t=E4KA
       
      Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/metamer/faces/components/richEditor/lang/en.js?t=E4KA
       
      Uncaught TypeError: Cannot set property 'dir' of undefined ckeditor.js;jsessionid=cCSt9DELY4qr8as9rF23pBU7:218
      

      Component starts work correctly after another page load or if your first request is not to this component but to another one - open http://localhost:8080/metamer/ and then directly http://localhost:8080/metamer/faces/components/richEditor/simple.xhtml?template=plain - component is visible and work.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michpetrov Michal Petrov
                  Reporter:
                  mtomasek Martin Tomasek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: