Adding Features support would be really useful.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

pookmish’s picture

I didn't create an update script for the module since i'm not sure how the maintainer would like to handle this. But if you uninstall and resinstall the module, I was successful with features support.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
3.67 KB

This adds an update script to rebuild the schema cache and fixes the file paths.

DamienMcKenna’s picture

Status: Needs review » Needs work

I think some extra caches should be cleared, and I don't think the 'pid' column should be added.

AaronPava’s picture

Needed to load ctools export include.

alison’s picture

Works for me, but agree that some kind of cache somethings need to be added -- features diff and revert "works" in like, a delayed way, that only comes through after clearing all caches.

In other words...

  • I have an ajaxblocks setting for a block exported to a feature.
  • I change the "cached/not cached for roles" config for that block.
  • drush fd myfeature shows expected diff info.
  • The feature code is appropriately updated if I run drush fu myfeature.
  • If I run drush fr myfeature (instead of updating the feature code), it claims success -- and indeed, drush fd myfeature shows Feature is in its default state. No diff needed.
  • ...But on the block config form (admin/structure/block/manage/myblock/configure), the roles settings are still changed (from that change I made before).
  • ...But if I clear all caches, the role settings on the block config form are what they should be -- back to their default settings according to the feature code.

But, it works, so thank you!