Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Hi! Thank you foe great idea!
Works great for different fields. But I can not find duplicates by field_video_embed Video URL from the module Video Embed Field
Can you fix it?
I'm sorry but i've been very busy. I haven't tested the matter with the Video Embed field. However, I believe that i have clues about why remove duplicates isn't working with Field Video Embed custom field.
The module Field Video Embed is creating a custom field table with two fields : video_url and embed_code.
In the select box in your screenshot only the label Video Embed is shown rather than two labels for the two real fields in the database that could be used to check for duplicates.
I believe to solve the matter, I should work on the way i'm getting the custom fields columns name from the database. I'll keep you informed when i'will solve the problem.
I solved this by copying the video url from the video embed field to a text field (to use for field comparison instead) via Rules module.
Rule Name: Copy Link To Link Plain Text Field - For Duplicate Removal
Content Type: Video
Plain Text Field Name: Link Plain Text
Video Field Name: Video Link
Import this via Rules module if you used the content type & field names listed above otherwise modify the code to import without errors.
Comments
Comment #1
patator commentedComment #2
sami radi commentedHello,
Could you give me these informations :
1. Can you select the field in the drop-down list ?
2. Are you sure that there are exact duplicates (=> the search for duplicates is CaSe SeNsiTive) ?
Best Regards.
Comment #3
patator commented1. Yes, I can
2. Comparison field is url. No capital letters.
Here http://grabyourboard.ru/ two first node with equal title, url Video Embed Field and body. But different authors.
Her is screenshotes what I did for fide duplicate. First two search by Video Embed. Then search by title.
https://dl.dropboxusercontent.com/u/68010186/grab1_cr.png
https://dl.dropboxusercontent.com/u/68010186/grab2_cr.png
https://dl.dropboxusercontent.com/u/68010186/grab3_cr.png
https://dl.dropboxusercontent.com/u/68010186/grab4_cr.png
By Video Embed nothing found.
By Title found.
Comment #4
patator commentedHello, Sami!
Do you have similar bug with these two modules?
Comment #5
sami radi commentedHello,
I'm sorry but i've been very busy. I haven't tested the matter with the Video Embed field. However, I believe that i have clues about why remove duplicates isn't working with Field Video Embed custom field.
The module Field Video Embed is creating a custom field table with two fields : video_url and embed_code.
In the select box in your screenshot only the label Video Embed is shown rather than two labels for the two real fields in the database that could be used to check for duplicates.
I believe to solve the matter, I should work on the way i'm getting the custom fields columns name from the database. I'll keep you informed when i'will solve the problem.
Best Regards,
Sami
Comment #6
TimelessDomain commentedI solved this by copying the video url from the video embed field to a text field (to use for field comparison instead) via Rules module.
Rule Name: Copy Link To Link Plain Text Field - For Duplicate Removal
Content Type: Video
Plain Text Field Name: Link Plain Text
Video Field Name: Video Link
Import this via Rules module if you used the content type & field names listed above otherwise modify the code to import without errors.
Comment #9
sami radi commentedHello,
The problem is solved in the 7.x-1.2 version. You can now find your duplicates according to the video embed field url.
Best Regards.
Sami