Closed (fixed)
Project:
Video
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2013 at 09:51 UTC
Updated:
22 Feb 2013 at 06:20 UTC
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.
Comments
Comment #1
JvE commentedOk, that does not help.
As a workaround I added this line to the video_features_revert() function in the video.features.inc 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.
Comment #2
Jorrit commentedFixed in 7.x-2.x-dev. I move the delete/revert functionality to a better place, where the feature functions can access it.