Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294331

TypeError: Cannot assign string to property $_serviceIds of type array in ContentEntityCloneTest::testEntityPropertiesModifications

$
0
0

Problem/Motivation

The security release SA-CORE-2024-008 caused a new tests failure:

1)
    Drupal\KernelTests\Core\Entity\ContentEntityCloneTest::testEntityPropertiesModifications
    TypeError: Cannot assign string to property
    Drupal\Core\Entity\EntityBase::$_serviceIds of type array
    
    /builds/project/drupal/core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php:306
    /builds/project/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:729

The test fail on all 10.x branches (10.2.x -> 10.5.x), which were affected by SA-CORE-2024-008.

Steps to reproduce

See: https://git.drupalcode.org/project/drupal/-/jobs/3431520

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>