- Issue created by @elliotl
- πΊπΈUnited States elliotl
Closing issue as this is a duplicate of https://www.drupal.org/project/quick_node_clone/issues/3497505 π Fatal error if content type who has clone permission is deleted Active .
Error received: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "clone dir_listing content".
1. Updated another module (Books)
2. Ran drush updatedb. (6 updates need to be run)
3. received the following errors:
> [notice] Update started: book_update_103001
> [error] Adding non-existent permissions to a role is not allowed. The incorrect permissions are "clone dir_listing content".
> [error] Update failed: book_update_103001
[error] Update aborted by: book_update_103001
[error] Finished performing updates.
4. If I try to uninstall Quick Node Clone using the Extend:Uninstall GUI interface, I get the following error:
The website encountered an unexpected error. Try again later.
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "clone dir_listing content". in Drupal\user\Entity\Role->calculateDependencies() (line 210 of core/modules/user/src/Entity/Role.php).
5. I am now unable to update the database as needed for any module updates.
System configuration: Drupal 10.4.1; php 8.3.11; MariaDB 10.6.18
Active
1.20
Code
Closing issue as this is a duplicate of https://www.drupal.org/project/quick_node_clone/issues/3497505 π Fatal error if content type who has clone permission is deleted Active .