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.
Problem/Motivation
9.1.x-dev
- 9.1.x-dev test with PHP 7.3.x-dev & MySQL 5.7, See https://www.drupal.org/pift-ci-job/1659673
- 9.1.x-dev test with PHP 7.4.x-dev & MySQL 5.7, See https://www.drupal.org/pift-ci-job/1659676
9.0.x-dev
- 9.0.x-dev test with PHP 7.3.x-dev & MySQL 5.7, See https://www.drupal.org/pift-ci-job/1659672
1) Drupal\Tests\media\Functional\ResourceFetcherTest::testFetchResource with data set "XML resource" ('video_collegehumor.xml', 'CollegeHumor', 'Let's Not Get a Drink Sometime')
Drupal\media\OEmbed\ResourceException: Resource version must be '1.0'
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3130427-2.patch | 593 bytes | jungle |
Comments
Comment #2
jungleExample from https://oembed.com/#section5
The culprit might be core/modules/media/tests/fixtures/oembed/video_collegehumor.xml
Comment #3
jungleComment #4
longwaveThe oEmbed spec at https://oembed.com/ does not mention a
type
attribute for the version tag and in fact says it can only be1.0
which is already obviously a float. Therefore I think this change is correct to make whether it has any effect on the tests or not.Comment #5
jungleThanks @longwave for reviewing! Changing the title a little bit as it could be backported to 8.x
Comment #6
jungleComment #7
jungleRaising the priority
Comment #8
xjmWe'll want to backport this all the way to 8.8 I think.
Comment #11
catchCommitted/pushed to 9.1.x and cherry-picked back to 8.8.x, thanks!