[richfaces-issues] [JBoss JIRA] (RF-13728) Editor cant display after page load if page is opened directly

Juraj Húska (JIRA) issues at jboss.org
Wed Jul 16 03:28:29 EDT 2014


     [ https://issues.jboss.org/browse/RF-13728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Húska updated RF-13728:
-----------------------------

    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: 

{code}
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
{code}

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.


  was:
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.




> Editor cant display after page load if page is opened directly
> --------------------------------------------------------------
>
>                 Key: RF-13728
>                 URL: https://issues.jboss.org/browse/RF-13728
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.5.0.Alpha3
>         Environment: Fifefox 30, Chrome 35.0.1916.153, EAP 6.3.
>            Reporter: Martin Tomasek
>
> 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: 
> {code}
> 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
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list