Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
9.7, 10.4
-
None
-
Unknown
-
Description
Because of XWIKI-15595, the wiki index can show duplicated and incomplete entries when at least one descriptor has set up an alias.
Until XWIKI-15595, a possible solution (tried with good results) is to update the Wiki index query to use an explicit "SELECT DISTINCT" clause instead of relying on the currently problematic "unique" query filter.
This implies updating WikiManager/WikisLiveTableResultsMacros from:
#set($sql = "$countSql $!{orderSql}")
to
#set($sql = "select distinct doc.fullName from XWikiDocument doc $countSql $!{orderSql}")
Attachments
Issue Links
- depends on
-
XWIKI-15595 Unique Query Filter not working on query.execute() while working on query.count()
- Open
- duplicates
-
XWIKI-16011 Possible missing and duplicated wikis in the wiki index
- Closed