Closed (fixed)
Project:
Domain Path
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2026 at 12:20 UTC
Updated:
17 Feb 2026 at 10:14 UTC
Jump to comment: Most recent
The config get in the constructor leads to a circular dependency injection error when used with Domain Config and the \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin plugin from Drupal Core.
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 #3
mably commentedHi @webflo, is this ready for merge?
On my side I haven't been able to reproduce the problem after enabling the
LanguageNegotiationUserAdminplugin.It could be interesting to have a test for it, if it depends only on Core and some specific configuration.
To avoid reintroducing it later on.
Wondering if we shouldn't do the same for DomainPathHelper, what do you think?
Comment #4
mably commentedComment #5
webflo commented@mably Thanks for looking into it. Here is the error with backtrace.
Modules/configuration needed to reproduce: LanguageNegotiationUserAdmin, domain_config (Version 2.0.0-rc1)
Comment #6
mably commentedDo you mean that the current MR doesn't fix the problem?
Have you tried with Domain 3.x?
I couldn't reproduce the problem with Domain Config 3.x.
But if this issue's MR fixes the problem, can you give me an RTBC so I can merge it?
EDIT: haven't been able to reproduce it with Domain 2.x either.
Comment #7
webflo commentedLooks good!
Comment #9
mably commentedThanks @webflo, it's merged.