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.
The 1.2 version of views_autocomplete_filters was just released:
https://www.drupal.org/node/2455803
It looks like bug fixes and new features.
I haven't done any testing yet, but the only place I think we use it is in the "Content item" widget.
Comment | File | Size | Author |
---|---|---|---|
#12 | panopoly_core-autocomplete-1.2-2456255-12.patch | 1.61 KB | dsnopek |
Comments
Comment #1
dsnopekHrm. For some reason, views_autocomplete_filters isn't working for me at all on my local -dev site, for both the 1.1 version (what we have in Panopoly 1.21) and 1.2. But I spun up a site on Pantheon and it worked - so it must be some environment thing, but it's stopping me from manually testing this upgrade. :-/
Comment #2
dsnopekIn any case, here's the patch for when I come back to this.
Comment #3
mglamanManual testing passed, as did running contentitem_widget.feature locally.
Comment #4
dsnopekThanks! Committed :-)
Comment #6
dsnopekThis is breaking update tests with:
Basically, the 'views_autocomplete_filters_handler_filter_string.inc' file has moved to another path. Doing
drush rr
would probably fix it, but since not everyone has that installed, I'd prefer to come up with a solution that doesn't require that.For the time-being I'm reverting this change until we can figure out a solution!
Comment #8
mglamanAh.. that is weird! I thought on updates it rebuilt module data, which should update the .info file's listings.
Comment #9
dsnopekComment #10
dsnopekHere's a simple attempt at an update hook to fix this! I'll run through Travis in a moment.
EDIT: Here is the Travis build: https://travis-ci.org/panopoly/panopoly/builds/71470592
Comment #11
dsnopekSeems to be working! I'm going to try another Travis build that runs ALL the upgrade tests before committing it for real:
https://travis-ci.org/dsnopek/panopoly/builds/71652547
Comment #12
dsnopekOk, looking at the last test build, it's upgrading from 1.14, 1.15, 1.16, 1.17 and 1.18 that fails. It appears its
module_filter_update_7200()
that's causing the trouble. So, the next thing to try is add a dependency on the new update hook. And here's a new patch to try that!Comment #13
dsnopekThe tests passed!
https://travis-ci.org/dsnopek/panopoly/builds/71665515
Next time I'm on my computer this should be ready to commit.
Comment #14
dsnopekRTBC'ING my own issue but only so I don't forget :-)
Comment #15
dsnopekCommitted!
Comment #18
bgronek CreditAttribution: bgronek commentedNow that this has been pushed through Pantheon, I am finding that this issue is causing my local development environment to fail with the following message:
Fatal error: require_once(): Failed opening required '/www/drupal/profiles/panopoly/modules/contrib/views_autocomplete_filters/views_autocomplete_filters_handler_filter_string.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /www/drupal/includes/bootstrap.inc on line 3202
I tried drush rr as noted above and it only resulted in a repeat of the above error message.
Looks like there might be some more, and rather urgent, work to be done on this.
Thanks so much for your efforts!!!
Comment #19
bgronek CreditAttribution: bgronek commentedBased on the recent occurrence posted above, I would venture to say that this is not quite fixed.
Comment #20
bgronek CreditAttribution: bgronek commentedSwitching back to fixed.
Apologies for the confusion.
Kids, be sure to run /update.php when you bring a new build down to your local environment ;)
Thanks for everything!
Comment #21
dsnopekWhew! Glad you worked it out. :-)
Comment #22
RobLoachFixing this in the module itself is at: #2493069: Error due to moved include file