“Group Creation Failed” when creating a group that initially includes another group as a member, no stack trace
Summary: On internal (running a recent develop build), creating a new group with another group selected as a member during creation fails with a UI error banner: “Group Creation Failed.” Creating the group first and then adding the subgroup(s) afterward succeeds (workaround).
Environment
Server: dataverse-internal
Version/branch: develop (2025-09-15)
Browser: Chrome (latest)
Logs: No relevant stack traces observed in server.log during failure
Steps to Reproduce
Go to Admin > Permissions > Groups (any dataverse scope). Click Create Group. Create Group A; add 1–2 user members; save (succeeds). Click Create Group again. Create Group B and, before saving, add Group A as a member (along with optional user members). Click Save.
Actual Result UI shows a banner: “Group Creation Failed.” The group is not created. Server log shows no obvious error lines at the time of the attempt.
Expected Result Group B is created successfully with Group A listed as a member (and any users), and appears under Manage Permissions > Groups.
Workaround Create the new group without any members first, save, then edit the group and add users and groups afterward. This path succeeds.
Reproducible on dataverse-internal (develop).
Previous issue was closed since there were other priorities: https://github.com/IQSS/dataverse/issues/5197
https://github.com/user-attachments/assets/47a6f79b-ac05-4663-802c-a9e3d694773b
Hi Omer, should this be in the dataverse repo? SPA doesn't have the group and admin permission control features currently