Bug #12707
openWhen adding a device to a group via "Add to group" button, it will remove other groups from the device
100%
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
Updated by Arshana Atapattu about 1 month 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
Updated by Rajitha Kumara about 1 month ago
- Status changed from New to QA
- Type changed from UI to Platform
Updated by Arshana Atapattu 22 days ago
- File vokoscreen-2025-03-26_17-14-47.mkv vokoscreen-2025-03-26_17-14-47.mkv added
- File vokoscreen-2025-03-26_17-20-15.mkv vokoscreen-2025-03-26_17-20-15.mkv added
- File Screenshot from 2025-03-26 17-23-15.png Screenshot from 2025-03-26 17-23-15.png added
- File Screenshot from 2025-03-26 17-23-25.png Screenshot from 2025-03-26 17-23-25.png added
- Status changed from QA to QA Reject
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]
[4]
[5]
Refer the video. Video is attached to the file section of the ticket
Updated by Rajitha Kumara 10 days ago
- Assignee changed from Rajitha Kumara to Thasleem Sulaiman
Updated by Arshana Atapattu 9 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]