The video module video_features_revert function calls video_preset_delete but that function is defined in the video_ui module, which may not be present or enabled at all.

There are many ways this can be dealt with so I'm not providing a patch. I'll just add video_ui as a dependency to my feature for now.


JvE’s picture

Priority:Minor» Normal

Ok, that does not help.

As a workaround I added this line to the video_features_revert() function in the as well:

 module_load_include('inc', 'video_ui', 'video.preset');

Since this is a workaround and not a solution I'm not providing a patch.

Upping prio because this breaks the Features support of the module.

Jorrit’s picture

Status:Active» Fixed

Fixed in 7.x-2.x-dev. I move the delete/revert functionality to a better place, where the feature functions can access it.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.