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)

CommentFileSizeAuthor
#8 3544249-domain_path_redirect-patch.diff23.92 KBayalon
Command icon 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

jeroen dost created an issue. See original summary.

webflo’s picture

Priority: Normal » Critical

Domain Path Redirect needs an update. Related to #3424962: Allow redirects to be 'disabled'

webflo’s picture

Status: Active » Needs review

@jeroen dost Please try the linked MR.

slowflyer’s picture

Status: Needs review » Needs work

Redirect does not working correctly as before.
Not changing the domain.

slowflyer’s picture

Status: Needs work » Needs review

please ignore #5.
Seems to be an issue of the domain module itself.

capysara’s picture

I 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?

ayalon’s picture

StatusFileSize
new23.92 KB

I 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.

  • webflo committed d207910f on 8.x-1.x
    Issue #3544249: Add status field to domain_path_redirect
    
webflo’s picture

Status: Needs review » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

  • webflo committed ad57a054 on 8.x-1.x
    Issue #3544249: Follow-up, bump composer version constraint
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.