Body field is required error when creating a new node

mcload - July 4, 2009 - 18:03
Project:Image FUpload
Version:6.x-3.0-rc2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When I create a new node, I cannot upload images to imagefield via FUpload. Steps to create:
1) Click on create a new contemt to create a story
2) Fill in the title and body fields
3) Click on Fupload button and select a single picture. "Image queued." message appears.
4) Click on Save button

Result:
Files get uploaded and on the same form this error message appears:


Body field is required.
All queued images were deleted.

I also tried with imagefield widget (replaced with fupload widget) and uploaded the same picture and wrote the same title and body. I could create the node without any problems with imagefield widget, so there should be a problem with fupload.

#1

grandcat - July 5, 2009 - 15:57

This is a setting problem. You have to set body's minimum amount of words to "0". Then, it will work.

#2

mcload - July 5, 2009 - 17:00

I need to set a "minimum amount of words" in order to prevent empty or short articles from users on my site, so it is not a valid solution for me. I will lose an important functionality if I decrease it to "0". Even though there are enough number of words in the body, I get this error. This error occurs only when Fupload widget is used, so there should be a problem or conflict with Fupload.

#3

jjemmett - October 6, 2009 - 21:22

subscribing, I have the same problem with imagefield fupload

 
 

Drupal is a registered trademark of Dries Buytaert.