Closed (fixed)
Project:
FileField
Version:
6.x-3.0-beta1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2009 at 08:26 UTC
Updated:
31 Mar 2009 at 05:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThanks, looks like you're correct. I'll have a look at this at the first possibility.
Comment #2
quicksketchFound this problem rather quickly. The "enctype" property isn't set on the node form if JavaScript isn't used. This patch should fix the problem. You can also temporarily fix the problem simply by enabling upload.module and enabling it on that type (you don't have to actually use it at all), and that will set the enctype on the form to the right value.
Comment #3
quicksketchI've committed a slightly revised version that check #field['type'] == 'filefield' rather than #field['module']. Note that this change doesn't yet have any effect at all, since it's really left-over from D5 default images, see #338087: Default images on D6 imagefields?.
Comment #4
inductor commentedThanks a lot, quicksketch! The patch fixed the problem.