- ππΊHungary yce
@bsains Thanks for checking, based on your comment I'm closing this ticket.
If a video is out of sync with Brightcove, you get this message:
There is a newer version of this video on Brightcove, you may want to update the local version before editing it.
There's a specific scenario where, if you update, and there's a description in Drupal but no description in Brightcove, you get this error:
OriginalTypeError: Argument 1 passed to Drupal\brightcove\Entity\BrightcoveCmsEntity::setDescription() must be of the type string, null given, called in /var/www/docroot/modules/contrib/brightcove/src/Entity/BrightcoveVideo.php on line 1596 in Drupal\brightcove\Entity\BrightcoveCmsEntity->setDescription() (line 64 of /var/www/docroot/modules/contrib/brightcove/src/Entity/BrightcoveCmsEntity.php). Drupal\brightcove\Entity\BrightcoveCmsEntity->setDescription(NULL) (Line: 1596)
This is because the API can return null for description but the setDescription method requires a string.
https://apis.support.brightcove.com/playback/references/playback-api-vid...
https://git.drupalcode.org/project/brightcove/-/blob/3.x/src/Entity/Brig...
This is a Major priority issue because it will crash your queue runner repeatedly and potentially silently.
Have Brightcove video in Drupal. Have description only in Drupal. Try to update.
Update setDescription param to include null.
Merge patch.
N/A
N/A
Potentially null descriptions.
Closed: works as designed
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
@bsains Thanks for checking, based on your comment I'm closing this ticket.