I have a Drupal installation with domain, domain_types and subdomain_folders. At first, I've only implemented domain + domain_types with several domain_types for context purposes. Afterwards I needed subdomain_folders, so downloaded + enabled it. After enabling the module, the domain-types weren't loaded anymore.
I can't really find the guilty part in code, although I've debugged it for as far I can. What struck me was that the module_implements array of domain_load was reduced to "domain" & "subfolders_domain", and "domain_types" and "domain_aliases" were no longer present. This happens after calling "domain_set_domain($domain_id, TRUE);" on line 46 of the .module
With that in mind I've searched a bit further and came along the issue "module_implements_cache() can be polluted by hook_boot() implementations calling module_invoke_all() directly or indirectly" (see related).
I've now applied the patch of that issue (#24) which resolves the issue, but I thought it was worth mentioning here.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | module-implements-boot-496170-24.patch | 2.01 KB | web-beest |
Comments
Comment #1
brice_gato commentedThx Web-Beest, can you share with the community your patch plz.
Comment #2
web-beestAttached the patch from the other issue
Comment #3
kenorb commented