Object template helper button calculates iteration not only on depth
This bug comes from the community:
When creating a document template, template variables of the type definitions can be embedded. Field references to objects/types are resolved, so that cross-references can be made over several types. The maximum depth which referenced references can achieve is limited to 3 levels.
The limitation is not only applied to the reference depth but also to the maximum number of resolved items in the drop-down structure.
The limitation should only affect the depth but not the number of elements in the drop-down.
Create a type with more than 3 reference fields.
Create a DocAPI Template
At the point: "Tempalte Content" press CMDB Data -> Object Template Data
In the Template Helper Service of the frontend the limitation of depth as well as the number of elements is used.
Here already on dropdown "root" level only the field is displayed. We need another check, which resolves the list completely and stops after the 3rd iteration.
Changed the Jira Workflow from DATAGERRY -> DATAGERRY 2.0
Cherry-picked that to the version-1.3 branch.
Made the bugfix. We need to cherry-pick that to the version-1.3 branch
This seems to be the same logical error as in