- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Okay finally found it. The issue is, that currently the config is missing the entity type entirely! Just the bundle is added!
So if two entities have the same bundle name, they will conflict!
Example:
entity_extra_field.extra_field.entity_extra_field.glas_plate.boilerplate_body.yml
The bundle
glas_plate
exists both incommerce_product
andcommerce_product_variation
entities!The correct configuration name would be:
entity_extra_field.extra_field.entity_extra_field.commerce_product.glas_plate.boilerplate_body.yml
entity_extra_field.extra_field.entity_extra_field.commerce_product_variation.glas_plate.boilerplate_body.yml
So the bundle gets prefixed by the entity type!
Setting priority to major as this is a risky bug.
- Merge request !30Update EntityExtraField.php: Added getBaseEntityTypeId to use the entity type in the config id. → (Open) created by Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Please check, if this is the correct approach. For non-bundleable entity types this will (correctly) use the entity type id twice.