Since I got yelled at for re-opening an old thread I will start a new one. I have a multiple value field and any time anyone edits a node containing this field that only has one value for this field a second blank value is created in the database. This causes all kinds of problems when sorting and displaying the nodes.

To be clear, I have a node containing a multiple value field (many of them actually) and this node only has one value for this field. I edit the node (though I don't change anything about the multiple value field) and when I save it a second, blank value is for that node is added to the multiple field table. The only solution I can think of is to manually edit the table and delete the blank values.

This isn't an old issue it is happening on my current site (Drupal 6.12 and CCK 6.x-2.4).
What is the solution?

Thanks,
Mike

Comments

asimmonds’s picture

You should really be using at least the latest stable releases of core and contributed modules (ie currently Drupal 6.17 and CCK 6.x-2.6). This problem may have been fixed in a newer release.

Backup your site before changing anything, in-case you have to rollback.

tinsmon’s picture

I can certainly appreciate that, but I'm on a shared Drupal server and I'm not the server administrator. So, if I need to request an update (to either the core or the CCK module or both) it would be helpful for me to have some specific information. Like being able to tell them this is a known bug that was fixed by a certain rev. level, etc. There are several sites on this server, so planning updates at non-disruptive times is key. As a result, the admins. aren't into upgrading just to see if it might fix something.

So, if anyone can provide any concrete info. on how to solve the problem it would be helpful. As I say, if the answer is an upgrade then what rev. fixed this problem? Can just CCK be updated or does the core need to be updated as well?, etc...

tinsmon’s picture

Anyone? Seemed like I got a real quick response to tell me this is an old issue when I re-opened the only other thread I could find, but no one can tell me the fix.

tinsmon’s picture

Version: 6.x-2.4 » 6.x-2.8

At long last our Drupal server admins updated the core to 6.19 and CCK to 6.x-2.8. I realize those aren't the very newest versions but they are newer than what was current when I was told to update our server to solve this issue.

The bottom line is we still have this problem. Any time we edit a record that contains a multi-value field it adds a second, blank value to the field if a second value didn't already exist. This causes a few different issues and our only workaround is to edit the Drupal database.

Any ideas?

tinsmon’s picture

Version: 6.x-2.8 » 6.x-2.9

Just an update that our server has now been updated to Core ver. 6.25 and CCK ver. 6.x-2.9 and we still have this problem. Anyone have any ideas?