Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module has the following code in views_calc_uninstall()
in the .install file:
db_query("DROP TABLE {views_calc_fields}");
This is causing issues with the uninstallation (table not removed) and re-installation (table already exists) of the module (I was getting a DatabaseSchemaObjectExistsException error).
Comment | File | Size | Author |
---|---|---|---|
#1 | reinstallation_error-1972320-1.patch | 351 bytes | BWPanda |
Comments
Comment #1
BWPanda CreditAttribution: BWPanda commentedHere's a patch that fixes this issue by removing the code in question (its functionality is already addressed by
views_calc_schema()
.Comment #1.0
BWPanda CreditAttribution: BWPanda commentedFixed code block
Comment #2
mgiffordI couldn't repeat this. The patch still applies, but I couldn't replicate the error.
Did you see the error in watchdog or in your mysql logs?
So this code here is redundant:
db_query("DROP TABLE {views_calc_fields}");
Comment #3
mgifford