[Topaz-dev] serializing Article from Session.get()

Pradeep Krishnan pradeepk at soft-point.com
Tue Mar 11 16:05:08 PDT 2008


Hi Jeff,

Jeff Suttor wrote:
> On 03/11/2008 03:15 PM, Russell Uman wrote:
>> nope. applying pradeep's fix didn't make any change. i get the exact
>> same error as is posted in the last comment on
>> http://www.topazproject.org/trac/ticket/806
> 
> how about if I just do a simple copy, e.g.
> 
> Article realArticle = new Article(otmArticle.getXXX, blah, blah)
> 
> this is unambiguous, low risk and keeps the ball rolling on getting to
> server stability.
> 

Yes, this is a possibility. But then you would have to track what is and 
isn't a proxy and to make sure that none of the associations are 
proxies. So instead of that copy logic scattered all over, it is better 
that it gets centralized in place and let OTM deal with it.

Cheers,
Pradeep


More information about the Topaz-Dev mailing list