Closed (fixed)
Project:
FileField
Version:
6.x-3.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2011 at 12:27 UTC
Updated:
24 Apr 2013 at 15:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
combert commentedForgot to mention that the ckk version is 6.x-3.0-alpha3.
Comment #2
combert commentedThis one is better.
Comment #3
Lucience commentedThanks, combert! Works like a charm!
Comment #4
circuscowboy commentedThis worked as well for me. Although the patch had an error it worked fine when added manually.
Is this fix good enough to be included in the next upgrade?
Comment #5
combert commentedShould have no error now.
Comment #6
Melissamcewen commented#5 worked for me, thanks!!
Comment #7
Jerome F commentedThere appears to be a similar issue in Drupal 7 core :
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in file_field_widget_form() (line 463 of .../modules/file/file.field.inc).But the fix provided in the patch is not reusable, as this line of code doesn't exist anymore.
You can reproduce this bug changing the language of a content from english to default language when there is an image field. The image will be lost, but you can solve this issue by uploading the image again.
I haven't found any issue in drupal core queue regarding this if someone does, please provide the link, I'll copy paste this comment there. I didn't create one because this is easy to solve and a wired behavior to switch languages like that, yet that can happen in a multilingual site.
Comment #8
Wappie08 commentedHi Jerome F, I experienced the same issues and created a new issue, please report back in #1261090: Images deleted after changing language of a node so we can figure this out!
Greetings Wappie
Comment #9
fabianderijk#5 worked for me as well.
Comment #10
CarbonPig commented#5 worked for me too - Thanks!
Comment #11
johnnydarkko commentedThanks combert! #5 worked for me as well!
Comment #12
fabianderijkLooks like it needs a new status >> Reviewed & tested by the community
Comment #13
quicksketchThanks guys. Committed #5.