Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
16.4.3
-
Unknown
-
Description
Steps to reproduce
Run a query over REST which matches nested pages, for example all pages contained in space XWiki.EntityNameValidation:
/xwiki/rest/wikis/xwiki/query?type=xwql&q=where doc.fullName like 'XWiki.EntityNameValidation%25'
Actual result
Here's a sample searchresult returned:
<searchResult> <link href="http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/EntityNameValidation/pages/Administration" rel="http://www.xwiki.org/rel/page"/> <type>page</type> [...] </searchResult>
An occurrence of /spaces is missing between /XWiki and /EntityNameValdiation.
Expected result
<searchResult> <link href="http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/spaces/EntityNameValidation/pages/Administration" rel="http://www.xwiki.org/rel/page"/> <type>page</type> [...] </searchResult>
Regression note
XWiki 15.10.11 returns the expected search results.
Attachments
Issue Links
- duplicates
-
XWIKI-22440 Wrong hrel links for REST attachments, objects...
- Closed