Related to the edit request, but not the same (I think).

I would like to see that whatever fields (core or cck) are set when uploading the image are stored for each image in the queue.

I'm using a gallery system based on nodes. The image form has a cck node reference fields that points to the gallery nodes. When I set this field when uploading the image I'd expect it to apply to all images in the batch (but that doesn't happen for the moment).

Thanks though for a very promising module.

HnLN

Comments

grandcat’s picture

Normally I should be applied without any problems because the cached form is taken and everything what changes would be rebuilt. But I will take a closer look at this specified problem, perhaps it's a bug of nodereference, but we'll see...

grandcat’s picture

Category: feature » bug
Status: Active » Postponed (maintainer needs more info)

Now I tested it with text field of CCK, no problem at all. Does it work with your system? Please give it a try and tell me.

HnLn’s picture

Hi grandcat,

I tested with cck text field and that works fine, cck node reference doesn't work though.

Tnx,

HnLn

grandcat’s picture

Now, I noticed that only textfields (text, integer, ...) of CCK work, other fields get the value "NULL". At the moment, I don't know exactly where the problem is, but I'm working on it.
AJAX works as it should and posts all needed data, so the problem must happen either when the new input data form is mapped into the original, cached form, or a problem with the function "node_form_submit". This is not clear at this point.
Help would be great =)

grandcat’s picture

Status: Postponed (maintainer needs more info) » Needs work

Yeahhh, I found the problem, the form_builder function was used to map a default title to the image, but this was too much and kicked out our CCK fields. Now, I hope that everything will work, but I still have to do some things before I can submit the new changes.

grandcat’s picture

Assigned: Unassigned » grandcat
Status: Needs work » Fixed

Issue now fixed in CVS HEAD version.

In 0.* release, it won't be fixed because of an error in CVS, but in upcoming 1.* version. I'm sorry =/

grandcat’s picture

Title: Setting default node fields before submitting » CCK Field values weren't observed correctly
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.