uninstall of Rabbit Hole nodes not possible

Created on 19 January 2024, 11 months ago
Updated 24 January 2024, 11 months ago

Problem/Motivation

When I try to uninstall Rabbit Hole nodes I get this error: "The selected modules could not be uninstalled, either due to a website problem or due to the uninstall confirmation form timing out. "
In the logging this entry:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rh_action' in 'where clause': SELECT 1 AS "expression" FROM "node_field_data" "t" WHERE "rh_action" IS NOT NULL LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->countFieldData() (line 1794 of /xxx/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
AND after running update:
RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "rabbit hole bypass node". in Drupal\user\Entity\Role->calculateDependencies() (line 207 of /xxx/web/core/modules/user/src/Entity/Role.php).

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands promes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @promes
  • πŸ‡ΊπŸ‡ΈUnited States jsweetack

    I had this same exact error when trying to clean up the RH entities in the system. It ended up breaking the database and I had to restore a previous one. This was on 1.0 beta version, and when I tried to upgrade to 2.0.0 to maybe fix the issue, I got the same errors as everyone here in this related issue: https://www.drupal.org/project/rabbit_hole/issues/3385471 πŸ› 'rh_action' not found Active

Production build 0.71.5 2024