On Mon, Oct 24, 2016 at 11:09 PM, dmd3eorg <d...@3e.org> wrote:

> So, it looks like I need to *explicitly* set
>
> <parent>mywiki.foo.bar.WebHome</parent>
> <parentId>xwiki:mywiki.foo.bar.WebHome</parentId>
>
> in the XML I *PUT*.
>
>
> However, this appears to still be a bug or at least an inconsistency,
> because the web version of ?viewer=children shows the page even if this was
> not done, whereas REST's children method for the same page does NOT show
> it.
>

The page "children" REST resource is probably using the parent-child
hierarchy which was deprecated in favor of the nested-pages hierarchy
starting with XWiki 8.2. See
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMigration/
. We need to fix this. Can you report an issue on
http://jira.xwiki.org/browse/XWIKI/component/10821 ?

Thanks,
Marius


>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/when-creating-a-page-via-REST-it-doesn-t-appear-in-children-via-REST-
> tp7601706p7601708.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to