Project

General

Profile

Actions

Bug #11089

closed

After applying policy changes, the operations logs are not loading on the single device page

Added by Thilina Sandaruwan 21 days ago. Updated 7 days ago.

Status:
Closed
Priority:
Critical
Start date:
04/29/2024
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

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 for same device, 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


Files

vokoscreenNG-2024-04-29_15-10-48.mp4 (2.75 MB) vokoscreenNG-2024-04-29_15-10-48.mp4 Thilina Sandaruwan, 04/29/2024 09:43 AM
Actions #1

Updated by Thilina Sandaruwan 21 days ago

  • Type set to UI
Actions #2

Updated by Thilina Sandaruwan 21 days ago

  • Description updated (diff)
Actions #3

Updated by Oshani Silva 13 days ago

  • Assignee set to Nipuni Kavindya
Actions #4

Updated by Arshana Atapattu 13 days ago

  • Description updated (diff)
Actions #5

Updated by Arshana Atapattu 13 days ago

  • Description updated (diff)
Actions #6

Updated by Arshana Atapattu 13 days ago

  • Description updated (diff)
Actions #7

Updated by Arshana Atapattu 12 days ago

  • Assignee changed from Nipuni Kavindya to Pahansith Gunathilake
  • Type changed from UI to Platform
Actions #9

Updated by Pahansith Gunathilake 11 days ago

  • Status changed from New to QA
Actions #10

Updated by Arshana Atapattu 7 days ago

  • Status changed from QA to QA Accept

Fix is working

Actions #11

Updated by Arshana Atapattu 7 days ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF