Problem

RedirectRepositoryDecorator injects DomainNegotiatorInterface but only calls getActiveDomain(). The full negotiator is a heavier service that increases circular dependency risk.

Fix

Replace DomainNegotiatorInterface with DomainNegotiationContext — a lightweight value object available since domain 3.x that provides getDomain() and getDomainId().

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

mably created an issue. See original summary.

  • mably committed eaf996e7 on 2.x
    task: #3584256 Replace DomainNegotiatorInterface with...
mably’s picture

Status: Active » Fixed

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

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

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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