Closed mandrew closed 3 months ago
That's a CMS 5 only bug. CMS 4 is fine.
We re-factored Security Admin to be plain ModelAdmin in CMS 5. That's probably when this thing got broken.
Honestly, I didn't even know this tab could exists on the Group form ... it only shows if you have at least one role define.
The UI for this features is just weird.
Linked PRs have been merged, they will be automatically tagged shortly - note they target CMS 5.1 not 5.0 which was the version originally reported, so you may need to upgrade
Module version(s) affected
5.0.4
Description
When clicking on the "manage roles" link inside of groups > roles, the redirect returns the error below.
SilverStripe log error:
Uncaught Exception RuntimeException: "ModelAdmin::init(): Invalid Model class show" at /var/www/html/vendor/silverstripe/admin/code/ModelAdmin.php line 164 {"exception":"[object] (RuntimeException(code: 0): ModelAdmin::init(): Invalid Model class show at /var/www/html/vendor/silverstripe/admin/code/ModelAdmin.php:164)"} []
How to reproduce
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)Acceptance criteria
Notes
PRs
installer CI run