Since the upgrade to Xwiki 15.9. (Debian 12.1, Tomcat9) all pages including Pro Macros have lots of errors like this:
Failed to execute the [include] macro. Cause: [Current user [xwiki:XWiki.USER] doesn't have view rights on document [test:Licenses.Code.VelocityMacros]].
In the tomcat logs, it shows up like this:
Error on too many recursive includes for topic Licenses.Code.VelocityMacro
and
WARN c.x.x.XWiki - Exception Including Topic Licenses.Code.VelocityMacros
com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this document is denied: Licenses.Code.VelocityMacros
I did not see this errors immediately, because as admin users, there are no errors, only for regular users.
We found this Code to execute
{{include reference="Licenses.WebHome" /}}
in the object editor at said page (https://wiki.example.org/wiki/test/edit/Licenses/WebHome?editor=object), could this be the issue?
Thanks in advance!