Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.1.0
-
None
-
Unknown
-
Description
parent = currentContent() is translated to space_exact:XX.YYY where XX.YYY is the XWiki page name of the current content without .WebHome. This would be correct for finding terminal pages, but we migrate Confluence content to non-terminal pages so the direct children are not found.
We need to translate this to something like fullname:XX.YYY.ZZZ.WebHome where ZZZ doesn't contain dots, or something like this. Alternatively, we could use space_facet, and translate to something like (space_facet:N/.... AND -space_facet:N+1/....)