Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Pedro Santos
Hi Lionel, I had the same issue, but calling the setDefaultModelObject, that call methods on IPageVersionManager at some point. In my case, the solution was simple change that call for comp.getDefaultModel().setObject() On Tue, Jan 19, 2010 at 11:32 PM, Lionel Port lionel.p...@gmail.com wrote:

Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Lionel Port
The gae security restriction looks pointless because Objects.cloneModel is just using a ByteArrayOutputStream (why should there be restrictions on that?) but because the Objects calls are all static I can't override the method with a working clone method also because the OrderByLink.sort method is

Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Pedro Santos
Thank u! that will work for me too On Wed, Jan 20, 2010 at 8:21 AM, Lionel Port lionel.p...@gmail.com wrote: The gae security restriction looks pointless because Objects.cloneModel is just using a ByteArrayOutputStream (why should there be restrictions on that?) but because the Objects calls

Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Lionel Port
Thanks Pedro, Hope it helps. From your answer looks like we may have a slightly different problem with the same cause. Looks like the cloneModel() method is depended on from a couple of spots but it all related to versioning of components. Ideally it would be good if we could just replace the