Hi,
I'm using the latest CVS version of flexinode with Drupal 4.7 RC3, and it looks like the file field type is broken, when I try to upload a file, I always end up with a form error message that the file field is missing.
I'm not sure what's the problem, but I suspect it has something to do with the new order of node hooks, it appears that flexinode_validate is executed before flexinode_execute, and as a result the form is validated before storing the uploaded file.
Moving the code that calls flexinode_execute to flexinode_form partially solves the issue, I'm now able to upload files, but if preview is used, the upload breaks again.
Attaching my modifications as a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| flexinode.patch_3.txt | 1.24 KB | Ayman |
Comments
Comment #1
Bèr Kessels commentedThis is a duplicate of http://drupal.org/node/42762. Thanks for the work, though!
Comment #2
Ayman commentedAh, couldn't find that, thanks for pointing out, will continue the discussion there.