Hi,
I set up a rule with the category ask and exported it in a feature called rhask. When I modified, re-exported, and then tried to revert on the staging server the revert wouldn't work (neither via GUI nor drush). Debugging it I saw that rules_categories_features_revert() was passing the feature name directly to rules_admin_export_by_category() which used it as the category to look for. So this means that to export a rule as a feature currently, it must be tagged with the feature name.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rules_feature_export_using_categories-1342264-1.patch | 938 bytes | andyf |
Comments
Comment #1
andyf commentedHere's a patch that loads the feature and uses the rules categories configured within. I've not done any features integration before, but hopefully this is simple enough that it just works!
Comment #2
mitchell commentedMoving to "Provided Module Integrations" component.
Comment #3
kenorb commentedProbably not relevant anymore. See: https://www.drupal.org/drupal-6-eol