Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Component/s: Framework, ICE-Components, Sample Apps
-
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.
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
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] | Adnan Durrani [ adnan.durrani ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Attachment | editor-zip.jpg [ 13413 ] |
Adnan Durrani
made changes -
Assignee | Adnan Durrani [ adnan.durrani ] | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Ken Fyten [ ken.fyten ] | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25284 | Fri Aug 19 12:54:04 MDT 2011 | mircea.toma | |
Files Changed | ||||
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 | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextSetup.java
|
Mircea Toma
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Brad Kroeger
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Assignee | Mircea Toma [ mircea.toma ] | Brad Kroeger [ brad.kroeger ] |
Arran Mccullough
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Brad Kroeger
made changes -
Assignee | Brad Kroeger [ brad.kroeger ] | Ken Fyten [ ken.fyten ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25964 | Wed Oct 19 09:50:18 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextSetup.java
|
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Ken Fyten [ ken.fyten ] | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-2.1.0 [ 10262 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P2 | P1 |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Fix Version/s | 3.0 [ 10241 ] | |
Fix Version/s | EE-3.0.0.GA [ 10262 ] | |
Assignee Priority | P1 | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0.RC2 [ 10313 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
My guess would be that the resource should be application scoped rather than session scoped since we always want this on to be there in this particular case.