In our case: a CCK references contacts as node references to a Civinode content type. Selecting multiple contacts (assuming the "Multiple values" attribute was checked-off for this field) will only display the first one. I selected 3 using a select box (rather than autocomplete seeing as the latter didn't work), but the display of the node only included the first contact, and upon re-editing the node, only the first contact appeared to have been saved.
Thoughts: The delta isn't being affected in the node-refence table. So, the first item is being updated and all of the remainder are being ignored.

All the best,

Mike DeWolfe

Comments

Torenware’s picture

Assigned: Unassigned » Torenware

I'm guessing that there are problems with the current schema, so I'll take a look as to why this is so. I've confirmed this issue, so it should be straightforward.

Torenware’s picture

Status: Active » Needs review

This turns out to be more complex than I thought. The schema was fine; it's understanding what the "process form values" code needs to do, which is not all that well documented.

I've posted a candidate version to the Good Folks from the Communications Initiative, and if it does not blow up on them, I'll post it to CVS here and announce it on the CiviCRM list.

Torenware’s picture

Today's version has been checked into HEAD here on Drupal.org CVS.

It works with Civicrm 1.7 and Drupal 5.1. Have fun with it.

Rob

Torenware’s picture

Version: 5.x-1.x-dev » 5.x-1.0
Status: Needs review » Fixed

Fixed and merged to the new stable release.

Anonymous’s picture

Status: Fixed » Closed (fixed)