Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.2-milestone-1
-
None
-
Unit
-
High
-
Easy
-
N/A
-
N/A
-
Description
You can reproduce the issue by executing the following line on the JavaScript console:
XWiki.Model.resolve('', XWiki.EntityType.DOCUMENT, XWiki.currentDocument.getDocumentReference());
from a nested page with at least two ancestors. The problem is that the resolved reference takes only the last space reference from the base reference. E.g. if the current page is wiki:One.Two.Three, the resolved reference is wiki:Two.Three .