Bug #11443
closedTask #11442: Bugs and improvements for View for android Application updates monitoring and manage feature
In installation details correct count of devices are not shown
0%
Description
Description
In ultimate.com tenant there were installations with different types of action status.
But when try to see them in installation details, it shows device count is 350, but there are no or less devices [2].
There should have been this many data - >
mysql> select count(*) from AP_DEVICE_SUBSCRIPTION where TENANT_ID=46 AND STATUS='COMPLETED';--------
| count(*) |--------
| 127 |--------
mysql> select count(*) from AP_DEVICE_SUBSCRIPTION where TENANT_ID=46 AND STATUS='PENDING';--------
| count(*) |--------
| 179 |--------
mysql> select count(*) from AP_DEVICE_SUBSCRIPTION where TENANT_ID=46 AND STATUS='ERROR';--------
| count(*) |--------
| 44 |--------
Full data set for above numbers.
DB data: [1]
Files
Updated by Arshana Atapattu 5 months ago
- File vokoscreen-2024-07-01_18-06-33.mkv vokoscreen-2024-07-01_18-06-33.mkv added
- Description updated (diff)
Updated by Kavin Prathaban 5 months ago
Tested this on a local pack. seems to works fine. need to check with the uem db.
Updated by Pramila Niroshan 4 months ago
- Status changed from New to QA
This pr contains the fix,issue was not adding pagination query params
https://repository.entgra.net/proprietary/proprietary-commons/pulls/196/files
Updated by Lasantha Dharmakeerthi 4 months ago
@Pramila Niroshan, please explain how this issue is fixed with the mentioned PR.
Updated by Pramila Niroshan 4 months ago
previosly didnt pass offset and limit, so defaul (5) records returned. with above pr that issue is fixed in this file
https://repository.entgra.net/proprietary/proprietary-commons/pulls/196/files#diff-e490197fda84654e9653f693c158c46434ef4708
Updated by Lasantha Dharmakeerthi 4 months ago
Simply, this issue cannot be fixed by just passing the offset, limit. If this is fixed with this PR that means we have not handled the pagination count in the front end and it has been fixed via this PR. Passing default offset and limit will not make any change to the count value, because it is getting from a separate query. In this PR DAO level has not been updated.
Updated by Pramila Niroshan 4 months ago
yes that's correct. total count not getting by above PR. Need to add that
Updated by Lasantha Dharmakeerthi 4 months ago
If that's the case, then is this fixed with the above PR?
Updated by Arshana Atapattu 4 months ago
- Status changed from QA to Implementation
Updated by Lasantha Dharmakeerthi 4 months ago
- Assignee changed from Pramila Niroshan to Lasantha Dharmakeerthi
Updated by Lasantha Dharmakeerthi 4 months ago
- Status changed from Implementation to QA
Updated by Viranga Gunarathna 4 months ago
- Status changed from QA to QA Reject
Total installed and uninstalled counts under "Device Subscriptions" are still incorrect.
Updated by Lasantha Dharmakeerthi 4 months ago
- Assignee changed from Lasantha Dharmakeerthi to Kavin Prathaban
Updated by Kavin Prathaban 4 months ago
- Status changed from QA Reject to QA
Updated by Arshana Atapattu 4 months ago
- Status changed from QA Accept to Closed
Closing due to QA accept