Hi guys,
Problem
When I generate a feature from my feeds importer (with feeds tamper, in this case, but problem also exists without tamper) and then deploy the feature on another server, the feeds importer does not show up in the list of importers from feeds.
Proposed solution
I compared my generated feature with the the feeds_import feature that is included in feeds and noticed that the feeds_import feature sets a different version for the ctools_plugin_api than my generated feature.
feeds_import feature:
function feeds_import_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "feeds" && $api == "feeds_importer_default") {
return array("version" => 1);
}
}
my generated feature:
function feeds_store_importer_ctools_plugin_api() {
return array("version" => "2");
}
I manually replaced this in my feature.
When doing this the feeds importer shows up nicely in the list of importers.
So I wonder if I was doing something wrong or is this is something that needs to be fixed in features?
Thanks,
eddib
Comments
Comment #1
hefox CreditAttribution: hefox commentedUse rc2
Comment #2
slefevre1 CreditAttribution: slefevre1 commentedWhat issue is this a duplicate of?
Comment #3
kenorb CreditAttribution: kenorb commentedThe same here, what's the duplicate?
Comment #4
kenorb CreditAttribution: kenorb commentedComment #5
icf-vpathak CreditAttribution: icf-vpathak commentedSo I had the same problem mentioned above.
i.e "created a feeds importer (with or w/o feeds tamper doesn't matter) -> added it to a feature -> deployed the feature on different environment -> but feeds importer does not show up in the list of importers from feeds "
Solution:
1. make sure all the permissions and all the right modules are set.
2. I realized that when I added my feeds imported to a feature, the feature creates new INC files, In my case it was something like this .feeds_importer_default.inc and .feeds_tamper_default.inc . You have to add these files using subversion (I use Tortoise SVN. so I right clicked on these files -> tortoise SVN -> Add). Once you do this you need to commit the code and the feeds importer should show up in the list. This worked in my case.