[gatein-issues] [JBoss JIRA] (GTNPORTAL-2820) Unable to clone page (PageService) in a different destination
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Tue May 7 09:34:53 EDT 2013
[ https://issues.jboss.org/browse/GTNPORTAL-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772723#comment-12772723 ]
RH Bugzilla Integration commented on GTNPORTAL-2820:
----------------------------------------------------
Martin Weiler <mweiler at redhat.com> made a comment on [bug 916260|https://bugzilla.redhat.com/show_bug.cgi?id=916260]
The reproducer portlet has the following error:
SiteKey siteKey = new SiteKey(SiteType.GROUP, "/platform/users");
should be replaced by:
SiteKey siteKey = new SiteKey(SiteType.PORTAL, "classic");
otherwise the portlet fails to find the src page.
> 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
> Assignee: Boleslaw Dawidowicz
> Fix For: 3.6.0.Beta01
>
>
> 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