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.
SqlContentEntityStorage now expects $entity_type_bundle_info and $entity_type_manager as the last two parameters, and without them we get these messages while testing:
36x: Calling ContentEntityStorageBase::__construct() with the $entity_type_bundle_info argument is supported in drupal:8.7.0 and will be required before drupal:9.0.0. See https://www.drupal.org/node/2549139.
6x in AddressBookTest::testHasUi from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testLoadProfileTypes from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testLoadProfiles from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testNeedsCopy from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testCopyMultiple from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testCopySingle from Drupal\Tests\commerce_order\Kernel
36x: Calling SqlContentEntityStorage::__construct() with the $entity_type_manager argument is supported in drupal:8.7.0 and will be required before drupal:9.0.0. See https://www.drupal.org/node/2549139.
6x in AddressBookTest::testHasUi from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testLoadProfileTypes from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testLoadProfiles from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testNeedsCopy from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testCopyMultiple from Drupal\Tests\commerce_order\Kernel
6x in AddressBookTest::testCopySingle from Drupal\Tests\commerce_order\Kernel
Comment | File | Size | Author |
---|---|---|---|
#2 | 3078769-2-storage-constructors.patch | 20.56 KB | bojanz |
|
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedThe constructors have gotten out of hand. We really need to move all custom loading logic to our own repositories.
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedCommitted.