I have simillar problem as here getParentReference does not point to logical Parent but internally in xwiki. I have a template provider which creates nested pages. My simple code:
{{velocity}}
#set($parent = $doc.getParent())
$parent
{{/velocity}}
produce output:
Templates.NewTemplateTest.WebHome
The problem is that the subpage should point to its new parent, but instead, it points to the original parent in the templates folder.
Im working on 16.1.0.
4 posts - 2 participants