Follow this steps to reproduce:
- Create a class Sandbox.TestClass
- Apply XWiki.ClassSheet to the created class by adding an object of type XWiki.DocumentSheetBinding and setting its sheet property to XWiki.ClassSheet
- Create a template for the created class, Sandbox.TestTemplate
- View the class page.
The template is not detected.
- is related to
XWIKI-7097 Make EntityReference immutables and add Locale in DocumentReference