Description of problem:
In my inventory I have 120 agents (created using agentspawn).
SELECT COUNT(*) FROM rhq_agent gives me 120.
When I navigate to Administration->Agents, the first number of agents I see in the "total" is 58.
When I scroll down, the list doesn't get lazily loaded with the rest of the agents, nor does the reported total number of agents change.
When scrolled down, pressing the "Refresh" button will reload the table and the reported total will change to 100.
Scrolling to the very bottom again and pressing "Refresh" will finally get me to the true total of 120.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Generate large number of agents connected to a server
2.Follow the steps in the description
The reported number of agents isn't always correct and the page doesn't lazily load when scrolling past the currently loaded number of rows.
The total should be correct any time and lazy (or eager) loading of the whole list should be possible.
time: 2014-08-05 15:22:40 +0200
author: Jirka Kremser - email@example.com
message: [BZ 959455] - Confusing number of total rows in Administration->Agents
page - calling setPagingInfo(response, result); solves the
issue. I fixed that also for StorageNodeDatasource,
PartitionEventDatasource, ServerDatasource and
cherry-picked to release/jon3.3.x
Author: Jirka Kremser <firstname.lastname@example.org>
Date: Tue Aug 5 15:22:40 2014 +0200
[BZ 959455] - Confusing number of total rows in Administration->Agents page - calling setPagingInfo(response, result); solves the issue. I fixed that also for StorageNodeDatasource, Affi
(cherry picked from commit d539c8bb0c859b57cf60ac7a640898701cee263e)
Signed-off-by: Lukas Krejci <email@example.com>
Moving to ON_QA as available to test in the following brew build: