Bug #11089
Updated by Arshana Atapattu about 1 year ago
*Environment Details*
Product-uem 6.1.0 (Fresh pack)
*Description*
After applying policy changes to devices, the operations logs are not loading on the single device page in the UI. There are no error logs regarding this, and the request is successful. this issue is reproducible when applying policies for both Android and Windows.
The difference between the no policy applied response and policy applied response is as follows.
Policy applied response: [1]
No policy applied response: [2]
Note that in the policy applied response([1]) the json object is broken(not in the correct format ->> it finished without ending the array and "}" , so there is no object.)
when calling the operations API call multiple times it returns different length responses. consider this response [3].
Both (working and non working) API calls have the same payload.
policy applied: [4]
No policy applied: [5]
Both (working and non working) API calls have the same request headers.
policy applied: [6]
No policy applied: [7]
[1]
{
"data": "{\"operations\":[{\"code\":\"MONITOR_POLICY_BUNDLE\",\"type\":\"POLICY\",\"id\":101180,\"status\":\"COMPLETED\",\"receivedTimeStamp\":\"2024-05-07 09:05:56.0\",\"createdTimeStamp\":\"2024-05-07 09:05:49.0\",\"isEnabled\":false"
}
[2]
{
"data": {
"operations": [
{
"activityId": "ACTIVITY_93899",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":1,\"value\":60000}",
"isEnabled": false,
"createdTimeStamp": "2024-04-25 10:59:06.0",
"control": "REPEAT",
"id": 93899,
"receivedTimeStamp": "2024-04-25 10:59:06.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_93898",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":1,\"value\":60000}",
"isEnabled": false,
"createdTimeStamp": "2024-04-25 10:59:05.0",
"control": "REPEAT",
"id": 93898,
"receivedTimeStamp": "2024-04-25 10:59:05.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_93887",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":1,\"value\":60000}",
"isEnabled": false,
"createdTimeStamp": "2024-04-25 10:57:24.0",
"control": "REPEAT",
"id": 93887,
"receivedTimeStamp": "2024-04-25 10:57:24.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84226",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:24:35.0",
"control": "REPEAT",
"id": 84226,
"receivedTimeStamp": "2024-04-10 04:24:35.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84222",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:24:00.0",
"control": "REPEAT",
"id": 84222,
"receivedTimeStamp": "2024-04-10 04:24:00.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84219",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:24:00.0",
"control": "REPEAT",
"id": 84219,
"receivedTimeStamp": "2024-04-10 04:24:00.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84220",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:24:00.0",
"control": "REPEAT",
"id": 84220,
"receivedTimeStamp": "2024-04-10 04:24:00.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84221",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:24:00.0",
"control": "REPEAT",
"id": 84221,
"receivedTimeStamp": "2024-04-10 04:24:00.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_84218",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-10 04:23:59.0",
"control": "REPEAT",
"id": 84218,
"receivedTimeStamp": "2024-04-10 04:23:59.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
},
{
"activityId": "ACTIVITY_71600",
"code": "NOTIFIER_FREQUENCY",
"payLoad": "{\"type\":0,\"value\":0}",
"isEnabled": false,
"createdTimeStamp": "2024-04-07 05:08:57.0",
"control": "REPEAT",
"id": 71600,
"receivedTimeStamp": "2024-04-07 05:08:57.0",
"type": "PROFILE",
"initiatedBy": "arshana",
"status": "PENDING"
}
],
"count": 646
}
}
[3]
{
"data": "{\"operations\":[{\"code\":\"MONITOR\",\"type\":\"COMMAND\",\"id\":101179,\"status\":\"PENDING\",\"control\":\"NO_REPEAT\",\"receivedTimeStamp\":\"2024-05-07 09:05:23.0\",\"createdTimeStamp\":\"2024-05-07 09:05:23.0\",\"isEnabled\":false,\"activityId\":\"ACTIVITY_101179\"},{\"code\":\"DEVICE_LOCATION\",\"type\":\"COMMAND\",\"id\":101178,\"status\":\"PENDING\",\"control\":\"NO_REPEAT\",\"receivedTimeStamp\":\"2024-05-07 09:05:18.0\",\"createdTimeStamp\":\"2024-05-07 09:05:18.0\",\"isEnabled\":false,\"activityId\":\"ACTIVITY_101178\",\"initiatedBy\":\"system\"},{\"code\":\"DEVICE_INFO\",\"type\":\"COMMAND\",\"id\":101177,\"status\":\"PENDING\",\"control\":\"NO_REPEAT\",\"receivedTimeStamp\":\"2024-05-07 09:05:16.0\",\"createdTimeStamp\":\"2024-05-07 09:05:16.0\",\"isEnabled\":false,\"activityId\":\"ACTIVITY_101177\",\"initiatedBy\":\"system\"},{\"code\":\"MONITOR_POLICY_BUNDLE\",\"type\":\"POLICY\",\"id\":101176,\"status\":\"COMPLETED\",\"receivedTimeStamp\":\"2024-05-07 09:04:42.0\",\"createdTimeStamp\":\"2024-05-07 09:04:36.0\",\"isEnabled\":false"
}
[4]
owner=arshana&offset=0&limit=10
[5]
owner=arshana&offset=0&limit=10
[6]
https://uem.mgt.entgra.net/entgra-ui-request-handler/invoke/device-mgt/v1.0/devices/android/546eeb2e3718d1d8/operations?owner=arshana&offset=0&limit=10
[7]
https://uem.mgt.entgra.net/entgra-ui-request-handler/invoke/device-mgt/v1.0/devices/android/9466ce3de406d1e6/operations?owner=arshana&offset=0&limit=10