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).
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.