Hello,
I've got a link from a view that is constructed to prepopulate a node reference field:

http://example.com/node/add/article?edit[field_prepopulate][0][nid]=[nid]

It prepopulates, but when I save the new node the referenced node doesn't stick. It doesn't show up on the view page, and when I go back to edit the new node, the node reference field is empty.

Is there something I'm missing?

This is using 6.x 1.1, and I'm about to test the 2.x dev version, so I'll post an update after that testing.

Comments

seth.vincent’s picture

I tried again with version 2.x and I'm still having the same problem.

The node reference field works fine when i manually enter a node, but for some reason when the field is prepopulated, the value isn't saved when i save the new node.

I'd really appreciate any help you can offer with this. I'm stumped.

jbrauer’s picture

Status: Active » Fixed

this has recently been changed significantly in 2.x. Please see the updates in #883980: New field formats are necessary in Prepopulate 6.x-2.x and the updated usage.txt

Status: Fixed » Closed (fixed)

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