[Yanel-dev] [Bug 5254] YarepUser needs to be seriazable in order to
work within cluster
bugzilla-daemon at bugzilla.wyona.com
bugzilla-daemon at bugzilla.wyona.com
Tue Mar 27 17:44:59 CEST 2007
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5254
------- Additional Comments From paloma.gomez at wyona.com 2007-03-27 17:44 -------
The getUser() method is invoked twice in YanelServlet (getContent() and
getToolbarBodyStart()). In both cases it is invoked to retrieve the user id:
Identity identity = getIdentity(request);
String userID = identity.getUser().getID();
So I'll have to think a workaround for this. On the other hand, I have noticed
that in Lenya classes that implement serializable have a field
private static final long serialVersionUID = 1L;
I wonder if we also need this. See the "version control" section in the
following article.
http://java.sun.com/developer/technicalArticles/Programming/serialization/
Regards,
Paloma
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Yanel-development
mailing list