Closed (fixed)
Project:
Features
Version:
7.x-2.9
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2016 at 21:59 UTC
Updated:
17 May 2016 at 13:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Cyclodex commentedWhich version of Drush are you using ?
I had the same issue with drush 5.9, and I think it should work with Drush 6.x or higher.
Also the output change was introduced in Features 2.8 so it seems.
Comment #3
gngn commentedSame here. I just updated from 7.x-2.7 to 7.x-2.9 (left out 2.8)
Now
drush features-listreturns nothing (uisng drush 5.9).With 2.7 I got the expected list of my features.
A short look revealed that
drush_features_list()returns$rows(an array filled with feature information) and leaves the actual outputting to the standard drush output systemdrush_print_table()to print out$rowsitself.I don't know if anybody else is interested but the following quick patch tests the drush version and falls back to the 2.7 behaviour if drush version is lower than 5.9 (apply at the end of
drush_features_list())Comment #4
gngn commentedComment #5
mpotter commentedCan you post this as an actual patch file so things like the testbot will see it. Thanks.
Comment #6
mpotter commentedOK, going to post the patch since this is important to fix asap for Drush 5 folks (which still sadly includes drupal.org)
Comment #8
mpotter commentedCommitted to 1f1b3e4.
Comment #9
gngn commentedSorry, I didn't have the time to create an actual patch.
Nevertheless I would have been happy to be mentioned in a features commit...
Comment #10
Cyclodex commentedWow that was quick, thanks folks! :)
Comment #11
Argus commentedConfirming fl works fine again.
Comment #12
mpotter commentedgngn: sorry about you getting dropped from the commit comment. I was just using the default git commit line that the dreditor plugin supplies to get a quick fix out. But maybe this will encourage a patch in the future? :)
(git diff >features-issuenum-commentnum.patch easy!)