Needs review
Project:
Corresponding node references
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2011 at 16:44 UTC
Updated:
27 Jan 2012 at 20:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
restyler commented+1 for feature integration. I think this can easily be achieved by exposing cnr table to ctools exportable http://drupal.org/node/928026
Comment #2
damienmckennaSubscribe.
Comment #3
czigor commentedIt's in the dev, please test. Might need to disable and enable the module (but to uninstall definetely not).
Comment #5
czigor commentedSorry, my bad. Thanks for the patch, it's committed.
Comment #6
kalabroUnfortunately I can't see how it works. I've created feature with one enabled CNR preset but all what it done is deleting record from CNR table.
Ctools 7.x-1.0-rc1
CNR 7.x-4.x-dev
Comment #8
kalabroSo maybe status is not fixed?
Comment #9
bforchhammer commentedI can confirm that this isn't working properly. CNR settings are exported to the feature fine, but when "reverting" the feature it simply deletes all settings...
The ways ctools exportables work, the "deleting settings from the database" part is probably fine, if the module loads settings from code instead. Maybe that part is missing?
Comment #10
bforchhammer commentedAttached patch moves all configuration-related loading/saving over to ctools. This fixes feature reverting etc. for me.
Comment #11
Matthew Davidson commentedWorks for me so far. Thanks.
Comment #12
czigor commentedCommitted, thanks!
Comment #13
bforchhammer commentedGreat, thank you!
Comment #14
bforchhammer commentedDidn't mean to change the status.
Comment #16
ergonlogicIt would be great to see features support in the 6.x branch :)
Comment #17
ergonlogicThe attached patch works for me.
Comment #18
ergonlogicFixed whitespace error