Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 2 Advanced Component, fileEntry
Description
The following error is now reported in the server log (ace-showcase):
Dec 8, 2010 6:12:23 PM com.sun.faces.context.SessionMap put
WARNING: JSF1063: WARNING! Setting non-serializable attribute value into HttpSession (key: org.icefaces.resource-org.icefaces.component.fileentry.progress.fileform::v8r1tw05.txt, value class: org.icefaces.application.ResourceRegistryHolder).
Dec 8, 2010 6:12:23 PM com.sun.faces.context.SessionMap put
WARNING: JSF1063: WARNING! Setting non-serializable attribute value into HttpSession (key: org.icefaces.resource-org.icefaces.component.fileentry.progress.fileform::v8r1tw05.txt, value class: org.icefaces.application.ResourceRegistryHolder).
Activity
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0.0 [ 10230 ] | |
Assignee Priority | P2 | |
Assignee | Mark Collette [ mark.collette ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23490 | Mon Dec 13 09:40:32 MST 2010 | ted.goddard | ResourceRegistryHolder implements Serializable ( |
Files Changed | ||||
![]() |
Assignee | Mark Collette [ mark.collette ] | Mircea Toma [ mircea.toma ] |
Assignee | Mircea Toma [ mircea.toma ] | Ted Goddard [ ted.goddard ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23493 | Mon Dec 13 12:31:55 MST 2010 | ted.goddard | ProgressResource implements Serializable ( |
Files Changed | ||||
![]() |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
In the core, ResourceRegistryHolder needs to be Serializable. As well, on a case by case basis, each of our Resource subclasses needs to be evaluated if they may be marked Serializable, as the Resource abstract class is not. For the ace:fileEntry component, make ProgressResource Serializable.
Within ResourceRegistryHolder, There could be a transitent and non-transient reference to the Resource, where only one is set, depending if the Resource in question is Serializable, so that it will get serialized, if possible, and not be atempted, otherwise.