- Issue created by @leymannx
- leymannx Berlin
Looks like a core issue. The patch in #3358586-36: RuntimeException: Adding non-existent permissions to a role is not allowed → helped us to work-around that issue.
When Event Platform gets installed from config during drush cim
this results in the following error:
$ drush cim -y
...
In Role.php line 210:
Adding non-existent permissions to a role is not allowed. The incorrect per
missions are "view field_r", "view field_time_slot".
Failed to run drush -y cim: exit status 1
drush -y site:install --account-name=admin --account-pass=admin
drush -y en event_platform
drush -y cex
drush -y cget system.site uuid
and note down UUIDdrush -y site:install --account-name=admin --account-pass=admin
drush -y cset system.site uuid SITE-UUID-HERE-NOW
drush -y entity:delete shortcut_set
drush -y cim
Active
1.0
Code
Looks like a core issue. The patch in #3358586-36: RuntimeException: Adding non-existent permissions to a role is not allowed → helped us to work-around that issue.