There are 2 updates.
 
 
CQL / cid:jira-generated-image-avatar-8247b8a0-efc1-42cc-940b-8cd87d88e1c0 CQL-7 Open

parent = currentContent() is incorrectly translated

 
View issue   ·   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-dd1e2ecf-ba42-4b53-918e-d88cc943fd87 Changes by Raphaël Jakse on 13/Aug/25 16:06
 
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 {{
space_exact 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/....)}}
Assignee: Raphaël Jakse