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.
Found a minor bug:
If the system module Database logging is not enabled, update 7005 will fail, not allowing the remaining updates to complete. The simple fix is to enable Database logging. Might consider adding a check to see if that module is enabled first when running 7005 because it won't need to remove anything from the watchdog table if the table doesn't even exist to remove anything from.
I realize that the majority will have Database logging enabled but sometimes it gets overlooked (as in my case)...
Comment | File | Size | Author |
---|---|---|---|
#2 | 1871852_ensure_table_exists_before_deleting.patch | 551 bytes | greggles |
Comments
Comment #1
philsward CreditAttribution: philsward commentedMore specifically the check should probably see if the "watchdog" table even exists and if not, skip the 7005 update. As it is, it just errors out saying that it can't find the watchdog table because it doesn't exist and none of the remaining updates seemed to run.
Comment #2
gregglesMaking the title more explicit with what needs to happen.
Comment #3
philsward CreditAttribution: philsward commented#2 Patch worked perfect for me.
Comment #4
DamienMcKennaGah, thanks greggles.
Once #1798294: Can't edit non-current node revisions is resolved I'll commit this.
Comment #5
Dave ReidCommitted #2 to 7.x-1.x.
http://drupalcode.org/project/metatag.git/commit/6e56165