We attempted to deploy domain_entity to an existing site. The variable domain_entity_allowed_entity_types was exported via strongarm/features. When trying to enable domain_entity a cascade of edge cases caused a PDO exception in domain_entity_entity_field_instance() because domain_entity_field_instances() returned an empty list.
On additional requests domain_entity will assume that its field table exists, causing further invalid Joins when configured entities are loaded.
| Comment | File | Size | Author |
|---|
Comments
Comment #2
ciss commentedComment #3
ciss commentedRecovery steps:
$conf['domain_entity_allowed_entity_types'] = array();Comment #4
ciss commentedAt this point I'm fairly certain that domain_entity will break for any site that uses strongarm to manage the domain_entity configuration. It is my understanding that domain_entity will automatically assume that a field table exists if there are settings for the entity type.
Comment #5
bohartD7 reached its EOL back in January 2025, and there is no active release for D7 for this module.
Neither development nor support is planned for D7.
All D7-related issues (especially those with ~10 years of inactivity) are marked as outdated in a bunch.
If/once the issue still arises in D11+ versions, please create a follow-up issue.
Thanks!