There was one last problem with ObjectNode and serialization,  the path field 
(an instance of UriPath) should be marked transient.  The constructor for 
ObjectNode always sets this field to null, and the field is alread generated 
when needed (with a call to getPath()).

cvs diff -u src/share/org/apache/slide/structure/ObjectNode.java
Index: src/share/org/apache/slide/structure/ObjectNode.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-slide/src/share/org/apache/slide/structure/ObjectNode.java,v
retrieving revision 1.20
diff -u -r1.20 ObjectNode.java
--- src/share/org/apache/slide/structure/ObjectNode.java        12 Nov 2003 
08:36:40 -0000      1.20
+++ src/share/org/apache/slide/structure/ObjectNode.java        13 Nov 2003 
16:42:41 -0000
@@ -124,7 +124,7 @@

     private Vector childrenCache = null;

-    private UriPath path = null;
+    private transient UriPath path = null;

     /**
      * Default constructor.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to