Posted by dsp1 on November 2, 2009 at 11:01pm
Jump to:
| Project: | Embedded Media Field |
| Version: | 6.x-1.15 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I just updated from Drupal 5 to 6.
updated from embedded media 5 to 6.x-1.15.
I am getting See Video in the teaser on nodes that do not have a video attached.
No See Video on nodes with a video.
Happens when changing field display from Default to Thumbnail.
any ideas or solutions?
Thanks.
Comments
#1
I figured out a fix.
the version 5.x of emfield left these fields (field_video_embed, field_video_value, field_video_provider) blank and field_video_data either NULL or a:0:{}.
To fix this run these SQL commands in phpmyadmin:
UPDATE `content_type_blog`
SET field_video_embed = NULL, field_video_value = NULL, field_video_provider = NULL, field_video_data = NULL
WHERE field_video_data IS NULL
UPDATE `content_type_blog`
SET field_video_embed = NULL, field_video_value = NULL, field_video_provider = NULL, field_video_data = NULL
WHERE field_video_data = 'a:0:{}'
you must delete your cache_content to see the changes.
DELETE FROM `cache_content`
just wondering, should this have been fixed when update is run?