Duplicating a role that is shared creates a corrupted Role with no capabilities

Description

Overview: When user duplicates an existing shared role that has only capabilities assigned. A duplicated is created that has no capabilities. Then editing that role results in a new duplicate being created. The original duplicate can no longer be edited or deleted. The new duplicate seems to behave normally.

Steps to Reproduce:

  1. Log into FOLIO Ramsons bugfest Eureka.

  2. Navigate to central tenant

  3. Click consortia manager

  4. Click Authorization Roles

  5. Select Central tenant in member dropdown

  6. select a role with Type consortia

  7. click actions menu Duplicate

  8. Edit duplicate Role and change name

Expected Results: Duplicate role does not have shared = true, Duplicate role has capabilities, duplicate role name is changed

Actual Results: After save and close another duplicate of the duplicate is created but with the updated name. Original shared role is not edited and has "centrally managed" = true but there are no copies in data tenants. New role has no capability assignments. New role is already Shared.

Additional Information:
URL:

Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:

Dennis Bridges March 17, 2025 at 9:16 PM

I don’t think you need to worry about it as duplicating roles with be tested during Sunflower bugfest. When the time comes, if you are able it would be great to have you test that scenario in the Sunflower bugfest environment. thx

Molly Driscoll March 14, 2025 at 8:35 PM

Thank you all for the updates! I’ve had my head down working on a deadline. Is any additional testing required from me at this time? If yes, I can carve out some time next week. cc: and

Dennis Bridges March 14, 2025 at 6:17 PM

Closing as cannot reproduce. This will remain a known-issue for the Ramsons version.

Serhii_Nosko March 13, 2025 at 10:23 AM

Here is link to the ticket where this fix applied for Sunflower:

Mikita Siadykh March 7, 2025 at 12:42 PM

could you test on ? we did some changes in scope of another ticket (actually sounds likes this one, but a bit different), and we can’t recreate this behavour

Cannot Reproduce

Details

Assignee

Reporter

Priority

Sprint

Development Team

Thunderjet

Release

Sunflower (R1 2025)

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 5, 2025 at 10:30 PM
Updated March 17, 2025 at 9:16 PM
Resolved March 14, 2025 at 6:17 PM
TestRail: Cases
TestRail: Runs