Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The tags existence checking in BrightcoveUtil.php has some issue,
$existing_tags = \Drupal::entityQuery('taxonomy_term')
->condition('name', $tag)
->execute();
If there is a taxonomy term with the same name in another vocabulary , the tags field in brightcove video will reference to it instead of referencing to taxonomy term in "Brightcove video tags".
User cannot save in the UI when referencing to the tags in another vocabulary.
Comment | File | Size | Author |
---|---|---|---|
#2 | 0001-Issue-2859461-by-fgm-specify-the-BC-vid-in-util-quer.patch | 3.59 KB | fgm |
Comments
Comment #2
fgmThis should address the issue.
I also made the vid name a constant for maintenability.
Comment #4
yce CreditAttribution: yce at Pronovix for BrightCove commentedThanks! Patch commited, although I've moved the TAGS_VID constant to the BrightcoveVideo entity.