Default Role - FAILED

After upgrading from 3.78.2-04 to 3.88, the following error appeared:

Default Role - FAILED Load failed: javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated

If I delete and recreate this capability (Default Role), the error disappears until the next restart. After restarting Nexus, the error reappears.

I replaced the default role with a newly created one, and now the error is gone. Looks like the hyphen in the name (or something similar) was causing the problem.

Hello,
We have the same problem with Nexus (Docker) : When we recreate the role it’s work but is broken at every reboot and it’s need to recreate the role again.
Have you a fix for this issue ?
Thanks :slight_smile:

That should be fixed in the 3.91.0 release:

  • NEXUS-48819 – The Default Role capability now supports built-in roles like nx-anonymous and nx-admin across instance restarts and upgrades.