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.
While running updates 6004 and 6005 I encountered the following error for both hooks:
Specified key was too long; max key length is 1000 bytes
It seems like the length of these keys need to be limited during creation. Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | 911118_1.patch | 1.09 KB | Will White |
Comments
Comment #1
Will White CreditAttribution: Will White commentedThis patch applies limits to these keys.
Comment #2
alex_b CreditAttribution: alex_b commentedThis looks good -
could you also adjust the key lengths in the original schemas?
Comment #3
kenorb CreditAttribution: kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.