- Merge request !2287Issue #3261540: checks for bundle entity classes should happen in rebuild, not runtime → (Open) created by nath.aritkumar
- 🇺🇸United States smustgrave
Doesn't seem like a novice level issue so removing that tag.
- 🇬🇧United Kingdom joachim
Fixed the two comments on the MR.
However, there is another problem:
if ($bundle_entity_type = $entity_type->getBundleEntityType()) { foreach ($this->entityTypeManager->getStorage($bundle_entity_type)->loadMultiple() as $entity) {
Bundles are not necessarily entities! Modules can use hook_entity_bundle_info() to define bundles for an entity type, without using a config entity to define them.
The code is currently only handling the bundle entity case, and not handling code-defined bundles at all.
Fix coming.
- Status changed to Needs review
5 months ago 9:45am 13 August 2024 - 🇬🇧United Kingdom joachim
Updated the tests.
This is ready but MR needs repointing.
- Status changed to Needs work
4 months ago 2:35pm 16 August 2024 - Status changed to Needs review
4 months ago 8:43am 17 August 2024 - Status changed to Needs work
4 months ago 3:04pm 23 August 2024 - 🇺🇸United States smustgrave
Fixed the phpcs issue but appears to have test failures.