[gatein-issues] [JBoss JIRA] (GTNPORTAL-2820) Unable to clone page (PageService) in a different destination

Gregory SEBERT (JIRA) jira-events at lists.jboss.org
Mon Feb 18 09:31:56 EST 2013


     [ https://issues.jboss.org/browse/GTNPORTAL-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory SEBERT updated GTNPORTAL-2820:
--------------------------------------

    Description: 
In the PageManagement service, when I clone a page to a different destination, I received an exception : 
"Could not clone page " + dst.name + "to existing page " + dst.site.getType() + " with id " + dst.site.getName()); 

I have a look at the implementation, I find a typo mistake on line 273:
     org.gatein.mop.api.workspace.Page dstRoot = srcSite.getRootPage();
It should be :
     org.gatein.mop.api.workspace.Page dstRoot = dstSite.getRootPage();

Best regards,

Grégory


  was:
In the PageManagement service, when I clone a page to a different destination, I received an exception : 
"Could not clone page " + dst.name + "to existing page " + dst.site.getType() + " with id " + dst.site.getName()); 

I have a look at the implementation, I find a typo mistake on line 273:
     org.gatein.mop.api.workspace.Page dstRoot = srcSite.getRootPage();
It should be :
     org.gatein.mop.api.workspace.Page dstRoot = dstSite.getRootPage();

Best regards;

Grégory



    
> Unable to clone page (PageService) in a different destination
> -------------------------------------------------------------
>
>                 Key: GTNPORTAL-2820
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2820
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Java API
>    Affects Versions: 3.5.0.Final
>         Environment: Gatein 3.5.2 Final
>            Reporter: Gregory SEBERT
>
> In the PageManagement service, when I clone a page to a different destination, I received an exception : 
> "Could not clone page " + dst.name + "to existing page " + dst.site.getType() + " with id " + dst.site.getName()); 
> I have a look at the implementation, I find a typo mistake on line 273:
>      org.gatein.mop.api.workspace.Page dstRoot = srcSite.getRootPage();
> It should be :
>      org.gatein.mop.api.workspace.Page dstRoot = dstSite.getRootPage();
> Best regards,
> Grégory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the gatein-issues mailing list