Currently a CCK field containing a machine name and of type 'vimeo' will not save correctly, as only the first segment of the field name will be used.

vimeo_browser_process() explodes field name by '_' and then only uses the $field_name[1] (eg 'field_foo_video' submits as 'field_foo'), and no data is stored for the field.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xurizaemon’s picture

Probably could be on a single line. explode() is just there to vape /^field_/, right?

Only tested on D6.

EDIT: Meh, D7 patch against wrong branch - ignore that!

xurizaemon’s picture

Status: Needs work » Needs review
FileSize
2.67 KB

7.x patch against 7.x branch :P