Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
12.0-rc-1
-
None
-
Unknown
-
Description
Steps to reproduce:
Execute XWiki.Model.resolve('object_property:xwiki:Wiki Macro.WebHome^XWiki.WikiMacroClass[0].code') in the browser's console on any XWiki page.
Expected result:
The entity reference can be parsed.
Actual result:
An error No parsing definition found for Entity Type [-1] is logged.
The entity reference resolver on the client-side seems to expect objectProperty as entity type instead of object_property. There seems to be no entity reference serializer that includes a type on the client side so I think this only affects the resolver.
Support for entity reference types has been introduced in XWIKI-16018.