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.
Can't use taxonomy_get_vocabularies() if taxonomy.module isn't loaded.
Comment | File | Size | Author |
---|---|---|---|
taxonomy_update.patch | 796 bytes | catch | |
Comments
Comment #1
jbrown CreditAttribution: jbrown commented#773828: Upgrade of disabled modules fails
Comment #2
catchNot a duplicate.
Comment #3
webchickReading through #773828: Upgrade of disabled modules fails I agree with this approach. I added a comment explaining why we do a direct query here rather than calling an API function (since I could potentially see someone trying to "fix" this later), and then...
Committed to HEAD. Thanks!
Comment #4
ericduran CreditAttribution: ericduran commentedThis only fixes the 7002 bug. There's also a problem in taxonomy_update_7004. I guess I'll just create a new issues. Since I was trying to fix 7002 and 7004 in #773828: Upgrade of disabled modules fails
Comment #5
catch7004 breakage is at #706842: Improve comments for the taxonomy upgrade path