Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Oct 2012 at 17:30 UTC
Updated:
24 Mar 2014 at 18:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
devin carlson commentedA patch to correct the documentation and remove the hook from
media_hook_info.Since the function doesn't actually implement a media hook, I think it should be moved out of media.media.inc (probably into media.module), but I'll leave that for a separate issue.
Comment #2
ParisLiakos commentedthanks.
not committing it yet, since i dont want to break a patch by accident that people in atlanta might review
Comment #3
ParisLiakos commentedthanks commited
http://drupalcode.org/project/media.git/commit/a0d2c0d
Comment #4
ParisLiakos commentedi reverted this..removing the hook from hook_hook_info results to media_query_media_browser_alter() never being called..we need to move this function to the .module file
I would say we need tests for this..but i guess we need testbot first
Comment #5
devin carlson commentedA year and a half later with tests!
The tests exposed a few other issues, so including the fixes in this patch.
Comment #7
devin carlson commentedA better display of the test failures.
Comment #9
dave reidIt's perfectly save to leave in the media_hook_info() part. That just needlessly breaks implementations in custom code if removed.
Comment #10
devin carlson commentedFair enough. :)
Committed only the doxygen change from the original patch.