I've found, that the file is not uploading. Module not creating preview, just doing nothing visible.
I had such issue in imagefield plugin for CCK, so I tried this one here too. And it solves the issue. Here it is.
filefield.module line 338:
before
case 'form':
$form = _filefield_widget_form($node, $field, $node_field);
return $form;
after
case 'form':
if (is_array($_SESSION['filefield'][$fieldname]) && count($_SESSION['filefield'][$fieldname])) {
foreach($_SESSION['filefield'][$fieldname] as $delta => $file) {
$node_field[] = $file;
}
}
$form = _filefield_widget_form($node, $field, $node_field);
return $form;
Comments
Comment #1
dopry commentedplease post unified diff format patches.... In the meantime I've committed this. tnx
Comment #2
(not verified) commented