Closed (won't fix)
Project:
Features
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 12:48 UTC
Updated:
23 Apr 2012 at 12:35 UTC
Features are reported on "Failed to get available update data" list on /***/admin/reports/updates
These items are local to the site and will not be available for update from drupal.org.
I suggest to distinguish between modules that are "updatable" and not and to avoid trying to find updates for custom modules and features.
Solution suggested in #1266614: Custom modules, Strongarm and Features on "Failed to get available update data" list is to implement hook hook_update_projects_alter and hide features from update list.
<?php
function mytest_update_projects_alter(&$projects) {
// Hide a site-specific module from the list.
unset($projects['mytest']);
}
?>
After creating this function Drupal update manager is not checking for updates of module "mytest".
Comments
Comment #1
the_g_bomb commentedI think this is a bigger issue than just relating to features as any custom module or theme also faces the same issue, I think the problem needs to be solved in the update module.
I have offered a suggestion in that queue, which will need some more work.
Comment #2
mpotter commentedI agree that this isn't something Features can fix and needs to be done in the Update module. If a module doesn't have an update URL, the Update module should ignore it.