Active
Project:
Embedded Media Field
Version:
6.x-2.3
Component:
Embedded Video Field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Dec 2010 at 14:51 UTC
Updated:
27 Jun 2012 at 19:32 UTC
using CCK 6.x-3-x-dev and emfield 6.x-2.3.
I'm not certain on which side the problem is, if it's CCK or if it's Embedded Media Field's. However if I create a CCK multigroup and include a emvideo field, with a couple of other text fields, and create say 4 groups. If I put a video link in the second and fourth groups, once I save the node and look at the node object or go back to edit it, video from the second group is in the first, and the video from the fourth group is in the second. so basically it removes any empty fields and just lists the videos that have been entered. So I no longer have them assigned to the right group which is useless.
Any ideas?
Thanks.
Comments
Comment #1
Dokuro commentedHaving the same issue, this has also been posted in CCK.
http://drupal.org/node/997960
Comment #2
shawnb commentedI'm also seeing this.
Comment #3
nanonisse commentedHi, I'm also running into this problem. If i put an emfield into a cck multigroup, empty values will get wrong delta values.
If i comment out the line 78 in the file emfield.cck.inc that says 'unset($items[$delta]);' the deltas seems to work correctly again. The unset only kicks in if the field is empty so it seems to work ok for me.
Anyone got any more info on this?
Comment #4
markisatacomputer commentedI'm also having this issue and nanonisse's suggestion seems to work for the moment.
Why is delta being unset here? And what unintended consequences might this janky fix have?