Hi everyone,

I have a been struggling with a bug on my website for a few days now. First I thought it was a Display Suite issue (https://www.drupal.org/node/2651066), now, I am starting to realize that it might be a Domain Entity issue.

I have multiple domains on my website, every domains uses same theme and layouts. I am using Display Suite to create those layout. And when the theme is rebuild from the user theme (not form the admin theme), the display suites layouts are broken. To repair it, I just need to go to a admin theme on any content type and go to 'Manage field' or 'Manage display'.

After a lot of research, I managed to track it down to domain_entity_query_alter($query) and domain_entity_allowed_entity_types_base_tables().
In the query alter, if I disable the function domain_entity_allowed_entity_types_base_tables(), it works fine. And what's it very weird, is that is works fine when I just add "if ($base_table != 'node_type')" around this function.
So I went in the domain_entity_allowed_entity_types_base_tables() function, and it breaks when it is trying to go trough the 'entity_get_info() function'.

I don't really what I am doing here, or what to do with what I found out.

Thanks for the help!

Ed

Comments

baroneddy created an issue. See original summary.

bohart’s picture

Status: Active » Closed (outdated)

D7 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!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.