Project

General

Profile

Actions

Bug #12707

open

When adding a device to a group via "Add to group" button, it will remove other groups from the device

Added by Arshana Atapattu about 2 months ago. Updated 1 day ago.

Status:
QA Reject
Priority:
Critical
Start date:
04/03/2025
Due date:
% Done:

100%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

Environment details
Staging server 6.4.0

Prerequisites
Enrolled device
created 2 groups (EX: group_1, group_2)

Steps
Go to all device page
select the device
click on "Add to group" button which is at the top of the table.
select a group_1
click on ok

Go to single device page.
click on groups button to see the added groups.
check this list and see the group_1 is there.

now,
Go to all device page
select the device
click on "Add to group" button which is at the top of the table.
select a group_2
click on ok

Note: this time its group_2

now again got single device page and see which groups are related for this device.
it will show as group_2

NOTE: please refer the video [1] for more clear steps
Video is attached with the file section.

Description
When added to a group via "Add to group" button it should add the device to that group without removing device from other groups.

Result
when adding a device via "Add to group" button, it will remove other groups and add only the group selected via "Add to group" button.

Refer the video: [1]


Files

vokoscreen-2025-03-04_11-09-15.mkv (1.45 MB) vokoscreen-2025-03-04_11-09-15.mkv [1] Arshana Atapattu, 04/03/2025 05:55 AM
vokoscreen-2025-03-26_17-14-47.mkv (4.46 MB) vokoscreen-2025-03-26_17-14-47.mkv [2] Arshana Atapattu, 26/03/2025 11:54 AM
vokoscreen-2025-03-26_17-20-15.mkv (1.3 MB) vokoscreen-2025-03-26_17-20-15.mkv [5] Arshana Atapattu, 26/03/2025 11:54 AM
Screenshot from 2025-03-26 17-23-15.png (55.3 KB) Screenshot from 2025-03-26 17-23-15.png [3] Arshana Atapattu, 26/03/2025 11:54 AM
Screenshot from 2025-03-26 17-23-25.png (50.1 KB) Screenshot from 2025-03-26 17-23-25.png [4] Arshana Atapattu, 26/03/2025 11:54 AM
Screenshot from 2025-04-09 12-43-13.png (168 KB) Screenshot from 2025-04-09 12-43-13.png [6] Arshana Atapattu, 09/04/2025 07:13 AM
Actions #1

Updated by Arshana Atapattu about 2 months ago

  • Subject changed from Groups are not correctly updated by "Add to group" button to When adding a device to a group via "Add to group" button, it will remove other groups from the device
Actions #2

Updated by Rajitha Kumara about 1 month ago

  • Assignee set to Rajitha Kumara
Actions #3

Updated by Rajitha Kumara about 1 month ago

  • Status changed from New to QA
  • Type changed from UI to Platform
Actions #4

Updated by Rajitha Kumara about 1 month ago

  • % Done changed from 0 to 100

Updated by Arshana Atapattu 24 days ago

when devices added to a group via "Add to group" button, sometimes devices are not added to some of the groups.
please refer the video [2]

Also noted that when adding a single device it calls a different API (/device-mgt/v1.0/groups/device/assign) this API has the group id in the payload [3]
but when adding multiple devices it calls a different API (/device-mgt/v1.0/groups/id/8/devices/add) this API calls doesn't has the group id in the payload [4]
Refer the video [5]

[2]
Refer the video. Video is attached to the file section of the ticket

[3]
[3]

[4]
[4]

[5]
Refer the video. Video is attached to the file section of the ticket

Actions #6

Updated by Rajitha Kumara 11 days ago

  • Assignee changed from Rajitha Kumara to Thasleem Sulaiman
Actions #7

Updated by Arshana Atapattu 10 days ago

Also noted that when adding a windows device via "Add to group" button, device does not get added to the device.
payload: [6]

[6]
[6]

Actions #8

Updated by Rajitha Kumara 1 day ago

  • Project changed from product-uem 6.4.0 GA to product-uem 7.0.0 GA
Actions

Also available in: Atom PDF