-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18216/#review34863
-----------------------------------------------------------


I've found a problem with this patch that occurs when the cloned page has 
subpages.  Infinite recursion occurs when serializing the Page through the 
page->subpages->parentPage reference.  I'll need to determine how to fix that 
before this patch can be submitted.

I also think I found a problem when cloning the clone of a page with no 
subpages.  I'll fix that one too.

- Stanton Sievers


On Feb. 19, 2014, 1:26 p.m., Stanton Sievers wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18216/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2014, 1:26 p.m.)
> 
> 
> Review request for rave.
> 
> 
> Bugs: RAVE-1092
>     https://issues.apache.org/jira/browse/RAVE-1092
> 
> 
> Repository: rave
> 
> 
> Description
> -------
> 
> When cloning a page, the PageApi and PageService will now return the Page 
> object itself.
> 
> 
> Diffs
> -----
> 
>   
> https://svn.apache.org/repos/asf/rave/trunk/rave-components/rave-core/src/main/java/org/apache/rave/portal/service/PageService.java
>  1569485 
>   
> https://svn.apache.org/repos/asf/rave/trunk/rave-components/rave-core/src/main/java/org/apache/rave/portal/service/impl/DefaultPageService.java
>  1569485 
>   
> https://svn.apache.org/repos/asf/rave/trunk/rave-components/rave-core/src/test/java/org/apache/rave/portal/service/impl/DefaultPageServiceTest.java
>  1569485 
>   
> https://svn.apache.org/repos/asf/rave/trunk/rave-components/rave-web/src/main/java/org/apache/rave/portal/web/api/rpc/PageApi.java
>  1569485 
> 
> Diff: https://reviews.apache.org/r/18216/diff/
> 
> 
> Testing
> -------
> 
> Existing unit tests pass.  Added a new unit test to sanity check the returned 
> value.
> 
> Verified that page cloning works in the default portal and that the REST call 
> returns the correct page object.
> 
> There's definitely more unit testing that needs to be done around the page 
> cloning API.
> 
> 
> Thanks,
> 
> Stanton Sievers
> 
>

Reply via email to