hel-o wrote:
> Hi,
> 
> the link dialog works much better than in 1.8.1, but one thing i found:
> 
> i don't use the space for the page parent when i add the parent manually
> (which i had to, since it wasn't added automatically in the new syntax)
> because i found, that it's not needed to work (as it is in links when the
> link is in the same space).
> 
> Now when i want to create a link to a wiki-page i get the tree-view (which
> is great) but it seems i cant see all those pages where no space is
> provided.

Hi Hel,

thanks for reporting this behaviour!

Of what I experimented just now, this seems to be caused by the REST API (used 
by the tree) for getting pages and the way it uses the passed "parent" 
parameter. Specifically, it does not interpret the value of the document parent 
field wrt the document's space.

I see 2 solutions:
1/ either we change the panel to set the parent field to a fully qualified name 
(when a user inserts only a document name in the parent field, we append the 
space)
2/ either we fix the REST API.

Solution 1 might cause problems when it will come to multiwikis, when the 
parent 
can be prefixed by the wiki name as well (wiki:Space.Page).

Or:
3/ we change the parent-child relation in the explorer tree so that we make it 
survive such situations.


Happy coding,
Anca Luca

> 
> hel.
> 
> 
> 
> -----
> ----
> h...@hel.at
> 
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to