Cloning projects and configs defunct after deleting predefined roles and groups

Hi,

I am no longer able to clone projects or configuration after I deleted all predefined roles and groups. Even if I uncheck to flag to copy the permissions I get

The role with id ‘00000000-0000-0000-0001-000000000007’ does not exist.

The project and configuration are partly cloned but the most important parts (variables and stages) are missing.

Our Continua CI Version 1.5.0.51

Regards

Kay Zumbusch

Try restarting the server service, that should re-instate some of the default roles. We’ll take a look at the cloning code to see what is going on, my guess would be it is checking if you have permission to clone projects, sounds like it is checking for a role rather than a permission. Are there any entries in the eventlog as a result of this error? If so send them to support as that will help narrow down the issue quicker.

Hi Vincent,

I checked the debug log for error messages but could just find this line:

Medium: 10:08:01 AM [Resource missing exception] The role with id ‘00000000-0000-0000-0001-000000000007’ does not exist.

I restored the predefined roles from a database backup. After that I was able to clone projects and configurations.

The same problem occurs if you try to create a new project and the default roles are missing.

Regards

Kay Zumbusch

Hi Kay, thank you for letting us know about this one. We have identified the issue and will have a fix available in the next release, thanks.