- πͺπΈSpain guiu.rocafort.ferrer Barcelona
guiu.rocafort.ferrer β made their first commit to this issueβs fork.
- πͺπΈSpain guiu.rocafort.ferrer Barcelona
I applied patch #3, and found the fatal error is caused by an infinite loop.
The setUrl calls getActiveDomain(), which loads the domain entity for the active domain. There was a domain_entity_load hook in the main domain, which calls the setUrl method for the loaded domain, thus creating the loop.
The getUrl() and getPath() methods already check if the value is set, and if not, they call setUrl and setPath, so i am quite sure removing this load hook in the main domain module is safe to do. I will create a follow up issue there.
Until this gets solved in the domain module, i added a hacky solution to stop the infinite loop from happening. In the setUrl i am checking if the function is being called from the domain_entity_load method, and in that case, it does nothing and just returns.
- Status changed to Needs review
10 months ago 1:30pm 17 February 2024 - last update
10 months ago 2 pass - πͺπΈSpain guiu.rocafort.ferrer Barcelona
Setting the issue as needs review, so we can merge the branch and solve the issue.
- πͺπΈSpain guiu.rocafort.ferrer Barcelona
Changing issue Priority to Major as per issue priorities β