drush @site -y fe test user_role:subadmin
[ getting warnings from #1867910: Undefined index: dependencies features.drush.inc:252 ]
Do you really want to continue? (y/n): y
but not directory is created.
In drush_features_export (features.drush.inc), not creation seems to happen. Code-path should go through _drush_features_export.
But that happens only:
if (($feature = features_load_feature($module, TRUE)) && module_exists($module))
In my case:
features_load_feature($module, TRUE)) == array(0) { }
$module == string(4) "test"

CommentFileSizeAuthor
#1 i1867914-1.patch1.71 KBattiks

Comments

attiks’s picture

Status: Active » Needs review
StatusFileSize
new1.71 KB

Included patch should fix this and also allows you to export disabled features

drzraf’s picture

indeed, feature is created now. thx !
I exported user_roles, but not wysiwyg; but that's probably another subject.

can't believe this code is not already inside features