I have a DM configuration with two nodes: a local and a child node. The child node has a host with an application and an item in that app. I choose to display all nodes and perform the following request:
{
"jsonrpc": "2.0",
"method": "application.get",
"params":
,
"id": 3,
"auth": "729bd3e39886d2d773b31fffda4544ba"
}
Everything works ok. But when I select the local node, the selectItems parameter does not return any items. That happens because CZBXAPI::createRelationMap() method builds relations only using the records from the selected node. It should not take nodes into account.