On Fri, Dec 11, 2015 at 12:48 PM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
> Thanks very much.
> I set core.hierarchyMode=parentchild now, and I reimport the backups, it 
> seems works now.

It was not related to the import, it's just a display option.

>
>
> But the Document Tree Macro's "openTo" attribute still appears incorrectly.
> I want use it to show a tree of the space
>
> {{documentTree hierarchyMode="parentchild" showRoot="true" showSpaces="true" 
> root="document:spaceX.page1" openTo="document:spaceX.page1.page2"/}}
>
> But it never open to page2 on default, I must manually expand the tree.
>
>
>
>
> 在 15/12/11 下午6:30,“users 代表 Thomas Mortagne”<users-boun...@xwiki.org 代表 
> thomas.morta...@xwiki.com> 写入:
>
>>The hierarchy did not really changed by the breadcrumb is based on
>>different data by default. You should take a look at
>>http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HHidingoftheParent-ChildRelationship
>>to get back previous behavior.
>>
>>On Fri, Dec 11, 2015 at 11:23 AM, KirbY ZhoU <kirbyz...@gmail.com> wrote:
>>> Additionally, I can find the correct parent info inside the .xml file
>>> It looks like:
>>>
>>>
>>> @&lt;?xml version="1.0" encoding="UTF-8"?>
>>> &lt;xwikidoc>
>>> &lt;web>前台组&lt;/web>
>>> &lt;name>JSON工具&lt;/name>
>>> &lt;language>&lt;/language>
>>> &lt;defaultLanguage>zh&lt;/defaultLanguage>
>>> &lt;translation>0&lt;/translation>
>>> &lt;parent>前台组.VR开发相关&lt;/parent>
>>> ...
>>>
>>>
>>>
>>>
>>>
>>>
>>> 在 15/12/11 下午6:21,“KirbY ZhoU”<kirbyz...@gmail.com> 写入:
>>>
>>>>
>>>>Import and Export XAR will lost tree hierarchy?
>>>>
>>>>I used to have a multi level tree hierarchy inside my wiki space.
>>>>
>>>>But, when I import it, all the pages are flatten as the direct children of 
>>>>the space WebHome.
>>>>
>>>>I use the default export tools to export a large 100M+ xar file under 
>>>>Xwiki-6.3
>>>>I use "Admin Tools" application to import large xar file under Xwiki-7.3.
>>>>Is it incompatible with tree hierarchy?
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>>--
>>Thomas Mortagne
>>_______________________________________________
>>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



-- 
Thomas Mortagne
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to