Closed (fixed)
Project:
Media Mover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2010 at 16:34 UTC
Updated:
1 Jul 2010 at 21:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
aaron commentedI confirm similar behavior. Wondering if there's a new bug that's been introduced. Here's my bug:
In my case, apparently mm_cck_media_mover is being invoked with module_invoke during node_load, and that function requires a reference for &file. Unfortunately, you can't actually call module_invoke to a function requiring a reference, as that function passes everything as a value.
mm_dir_media_mover() has the same issue...
Comment #2
aaron commentedthis patch fixes the problem in my case.
Comment #3
aaron commentedok, looks like this will fix this possibly edge case while maintaining current functionality. i've committed the patch. re-open if you still have an issue, @Pratik.
Comment #4
aaron commentedThis is actually related to PHP 5.3. I had to refactor the code considerably to get it working properly now, as it was throwing other similar issues. Patch forthcoming.
Comment #5
aaron commentedpatch attached
Comment #6
aaron commentedok, that's in now.
Comment #8
ha_le commentedHi Aaron,
Many thanks for your help. I've tried to apply your patch but receive a message say it's outdated... I've downloaded the latest stable version of MM. Is there any other patches that I should apply before this patch. Thanks.
Comment #9
arthurf commentedYou need to apply the patch to the 6.1.x dev version