- πΊπ¦Ukraine pazhyn Lutsk
Uninstalling any submodule as well as the module itself works well on Drupal 10.0.2, PHP 8.1.13, Rabbit Hole 1.x
- Status changed to Active
almost 2 years ago 1:55pm 28 January 2023 - πΊπΈUnited States DamienMcKenna NH, USA
pazhyn: Did you configure the module when you installed it, so that there were active configurations?
Instead of "RTBC", if the problem no longer exists then maybe "closed (outdated)" would be the appropriate status.
- Status changed to Closed: cannot reproduce
almost 2 years ago 2:24pm 28 January 2023 - πΊπ¦Ukraine pazhyn Lutsk
DamienMcKenna: Yes. I did it once again now. Added different rabbit hole configurations for nodes and vocabulary, and uninstalled submodules again. Now errors on screen and logs.
Thanks for the proper status advice. RTBC is not for my kind of update. Used Closed (cannot reproduce) instead. - πΊπΈUnited States cameron prince
Here's the way I found to uninstall... I was running beta 1.0 on Drupal 9.5.10 and couldn't upgrade or uninstall the module.
The uninstall was dying with:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rh_action' in 'where clause'
The solution was to login to the database and add the missing columns, which the uninstall would then immediately remove. I think adding a hasTable() check would be the proper addition to the uninstall routines to resolve this.
ALTER TABLE node_field_data ADD rh_action varchar(64); ALTER TABLE node_field_data ADD rh_redirect_response varchar(64); ALTER TABLE node_field_data ADD rh_redirect varchar(64); ALTER TABLE node_field_data ADD rh_redirect_fallback_action varchar(64); ALTER TABLE taxonomy_term_field_data ADD rh_redirect_fallback_action varchar(64) ALTER TABLE taxonomy_term_field_data ADD rh_redirect varchar(64); ALTER TABLE taxonomy_term_field_data ADD rh_redirect_response varchar(64); ALTER TABLE taxonomy_term_field_data ADD rh_action varchar(64);
Keep in mind that if you enabled other submodules, you probably need to add the columns to the related entities as well. I only did terms and nodes.