Tree Macro: "openTo" not working on child nodes

Hello,
I would like to mark an item in the list with the parameter “openTo”, but this only works in the top hierarchy (e.g. tomato) and not in the deep level hierarchies (e.g. baked beans).
How do I get the problem resolved?

{{tree openTo='j1_1_anchor'}}
* Food
** Tomato
** Corn
** Baked beans
*** Beans
*** Onions
*** Ketchup
* Vehicles
** Car
** Bus
{{/tree}}

01
openTo=‘j1_1_anchor’ does work
02
openTo=‘j1_2_anchor’ does not work



Further information:

  • XWiki Version: 13.6
  • The ID’s are automatically created by the Tree Macro
  • openTo parameter:
    “The id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also.”

Links: