[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:29:57 EST 2013


Gregory SEBERT created GTNPORTAL-2820:
-----------------------------------------

             Summary: 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