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.
Panopoly Search RC4 has a function we use in an update hook that is not present in the version of Search API we ship with RC5 (sigh). We should wrap the update function in a function_exists.
Comment | File | Size | Author |
---|---|---|---|
#5 | panopoly_search-update-2063715-5.patch | 3.98 KB | dsnopek |
Comments
Comment #1
populist CreditAttribution: populist commentedHere is a quick patch to do this
Comment #2
populist CreditAttribution: populist commentedHere is a better patch that catches it in two places
Comment #3
thebruce CreditAttribution: thebruce commentedThanks @populist. We were in this position on one of our projects, RC3 -> RC5 and applied exactly this approach to get it to roll.
Comment #4
lsolesen CreditAttribution: lsolesen commentedAdded to sprint as there is a patch and people has succesfully used it.
Comment #5
dsnopekI've been working on a updating some sites from Panopoly 1.0-beta4 on Pantheon for a client. Several changes are required to several
hook_update_N()
functions, not just the one in @populist's patch.Here is a patch with the version that I've got working - it shouldn't have any affect on new sites.
Comment #7
dsnopekCommitted! Let's see how the upgrade tests on Travis-CI go:
https://travis-ci.org/panopoly/panopoly/builds/33627534