This issue relates to the issue #1139706 where the same behavior is described.
My PHP version: 5.6.10
But the snippet that prevent a null return is not inside the current 7.x-3.x-dev version.
In my case currently breaks the domain_form_alter() function the features create form (/admin/structure/features/my_feature/recreate). At the end the form action looks like: ":///admin/structure/features/my_feature/recreate". Other forms (like node/add/...) has currently not that behavior. However, the problem with the action in the features form occurs just today. It looks like that the problems does not always occur.
Nevertheless, we should ensure that the function always returns a valid domain array. So that a null value could not break other functions, that relate to domain_initial_domain().
Comment | File | Size | Author |
---|---|---|---|
#2 | ensure_domain_inital_domain_returns_a_domain-2572547-2.patch | 337 bytes | cbeier |
Comments
Comment #2
cbeier CreditAttribution: cbeier commentedPatch that fixes this problem is attached.
Comment #3
agentrickardI am very curious about the conditions under which this bug arises. Have no domains been created?
Comment #4
cbeier CreditAttribution: cbeier commentedOn the page where the problem occurs is one default domain and two other domains configured.
The exact circumstances of the problem, are also for me unclear. Suddenly I had noticed that Feature (create/update a feature) no longer works.