- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Here's a working patch (with drush and tests) that can be used for a stable upgrade process. It has been committed.
Automatically closed - issue fixed for 2 weeks with no activity.
Domain needs a domain record with ID=0.
The same issue is also known from anonymous user with ID=0.
There are some migration tools that destroy data integrity because inserting an undefined (NULL) record leads to creation of an autoincrement index.
Thus there's some risk that the default domain gets an arbitrary next autoincrement value and default domain with ID=0 is missing.
Missing default domain leads to complete misbehaviour and especially redirection loops on settings forms like
/admin/structure/domain/edit/$ID
I suggest to add a hook_requirements to check if the record exists.
Do you support this?
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Here's a working patch (with drush and tests) that can be used for a stable upgrade process. It has been committed.
Automatically closed - issue fixed for 2 weeks with no activity.