When I edit node and upload some images to it's imagefield, changes in node body and all other fields are lost. If I create new node, only node title is saved after uploading images. Images are saved OK.
I'm using FileField 6.x-3.0-rc1 and ImageField 6.x-3.0-rc1 and CCK 6.x-2.2.
Any suggestions? Thanks, Dan

Comments

grandcat’s picture

Assigned: Fugas » Unassigned
Priority: Critical » Normal
Status: Active » Closed (won't fix)

There's no reason to mark it as critical first?

This is not a bug, further a mis-behaviour. It's right that editing a node won't change anything, if you click the upload button. Because of that fact, I put this button near to upload form. At the bottom of the page, there's still the normal save button which can still be used to save the changes done on CCK fields etc.

I can't combine my upload process with this thing which would update the changes because Drupal's node system will check this, I don't want to hack Drupal core.

I advise you to use "edit captions" option. Like this, after having uploaded all files, the user has to go to another (preview) page.

OneTwoTait’s picture

Even saving the node normally, some of the information entered on the node aren't saved.
Process:
1 - Go to add node page
2 - Upload photos. Enter other fields, etc.
3 - Click "save" which uploads the photos, then click "next step"
4 - On the "next step" page, click "done editing".
5 - Node is mostly saved, except that the information in additional fields (in my case a CCK text area) is not saved. You have to go back to edit the node to enter the text in that area.

It's 6.x-3.0-rc1 that I am using.

So, the only way to enter everything you want on a node is to first upload the photos, then go back to edit the node and save it again. You have to save it twice.

grandcat’s picture

Yes, that's right, because AJAX doesn't always send this data completely.
I will add a warn message in the next version to handle it better. Have a look at this,

kassissieh’s picture

StatusFileSize
new69.63 KB
new84.39 KB
new37.87 KB
new66.33 KB
new3.31 KB
new109.87 KB
new12.2 KB
new2.51 KB
new19.1 KB
new36.25 KB

When I select images for upload and then save the node, one node field saves correctly but the body doesn't. I am using imagefield in multiple storage mode. Shouldn't it be possible to save the body if it is possible to save other fields? Can you cache this data for later retrieval?

Attached, please find a series of screenshots that demonstrate how a CCK field named "subtitle" saves correctly, but the body doesn't.

michalmajzlik’s picture

i have the same problem. Anyone know how to break this bug?

iole’s picture

I changed my description field to a textfield (as opposed to a textarea), and it was saved just fine, so it would appear it's only some kinds of fields that don't make it through.