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.
We're running automated testing and the addition of the following lines (added in 3.2) in views_slideshow_cycle.install (14-17) are causing our testing build to fail.
// If installing via Drush skip requirement checking here.
if (php_sapi_name() == 'cli') {
return;
}
I propose we remove this Drush install skip requirements statement from the install file.
Comment | File | Size | Author |
---|---|---|---|
#2 | drush-cli-check-remove-2854640-2.patch | 644 bytes | owenpm3 |
Comments
Comment #2
owenpm3 CreditAttribution: owenpm3 at University of Colorado Boulder commentedComment #3
owenpm3 CreditAttribution: owenpm3 at University of Colorado Boulder commentedComment #4
NickDickinsonWildeWhat error is that getting/how is it causing it to fail?
Comment #5
NickDickinsonWilde(to be clear, that or something similar is required or install fails via drush)
Comment #6
owenpm3 CreditAttribution: owenpm3 at University of Colorado Boulder commentedThe install profile needs to have a dependency stated for views_slideshow_cycle. I just added these two lines to the standard install profile and ran it via drush si.
Here's the output:
So it's not automated testing, it's installing with a profile listing views_slideshow_cycle as a dependency. I traced that down to the following lines noted above.
Comment #7
NickDickinsonWildeah okay, that makes sense.
The problem is that the install command expects an array whereas that is returning null.
easy fix, coming right up.
Thanks for reporting and the details!
Comment #8
NickDickinsonWilde