Closed (fixed)
Project:
Media Mover
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Sep 2010 at 22:06 UTC
Updated:
9 Jun 2011 at 12:32 UTC
mm_cck_node_save attempts to return $file->filepath on completion, but field_file_save_file returns an array. This results in all sorts of strange behavior with files being duplicated, and step order getting messed up, patch attached is working for us.
| Comment | File | Size | Author |
|---|---|---|---|
| filefield_returns_array.patch | 584 bytes | civicpixel |
Comments
Comment #1
civicpixel commentedComment #2
arthurf commentedThe fix seemed to be a bit more significant- looks like I never cleaned up this function correctly from 1.x. As usual, I haven't really tested this yet, but it's on my list of cck stuff to go through.
Comment #3
darrick commentedmm_cck no longer exists. Has been merged to mm_node. Not sure if this applied to mm_node_content_field_store or mm_node_save which do about the same thing. But that's a whole other issue.
Comment #4
istryker commentedmm_cck still exist in 1.0.
Comment #5
arthurf commented@iStryker this issue was about the 2.x branch. If you are filing a bug against 1.x can you please open a separate issue? Since the codebases are dramatically different I don't want to track bugs for different versions in the same issue.