After updating all domain access related modules to the latest version (and other minor contrib updates) I get this error:
Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException: The entity type domain_path_redirect does not have a "published" entity key. in Drupal\redirect\Entity\Redirect::publishedBaseFieldDefinitions() (line 32 of core/lib/Drupal/Core/Entity/EntityPublishedTrait.php).
I don't know if this is related to this module or to the redirect module.
I updated core and the following contrib modules (among others):
core: 10.4.8 -> 10.5.2
domain: 2.0.0-beta2 -> 2.0.0beta3
domain_simple_sitemap: 3.0.0-rc2 -> 3.0.0-rc3
domain_language: 2.0.0-alpha2 -> 2.0.0-alpha3
domain_path_redirect:8.x-1.5 -> 8.x-1.6
redirect: 8.x-1.11 -> 8.x-1.12
redirect_after_login:8.x-2.8 (not updated to 3.0 yet)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3544249-domain_path_redirect-patch.diff | 23.92 KB | ayalon |
Issue fork domain_path_redirect-3544249
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
webflo commentedDomain Path Redirect needs an update. Related to #3424962: Allow redirects to be 'disabled'
Comment #4
webflo commented@jeroen dost Please try the linked MR.
Comment #5
slowflyer commentedRedirect does not working correctly as before.
Not changing the domain.
Comment #6
slowflyer commentedplease ignore #5.
Seems to be an issue of the domain module itself.
Comment #7
capysara commentedI hit the same error after updating the redirect module to 8.x-1.12. I tried turning this MR into a patch and adding it, but it's not fully applying for some reason. I'm on the latest domain_path_redirect 8.x-1.6. Composer says Skipping, Unable to Apply, but it's still partially applying.
Is it just me unable to apply as a patch?
Comment #8
ayalon commentedI have tested the patch and was able to upgrade domain access.
I have created a static patch just with the relevant changes that applies to 1.6.
Comment #10
webflo commented