The service "domain_menu_access.default_tree_manipulators" has a dependency on a non-existent service "domain.negotiator"

Created on 21 October 2020, over 3 years ago
Updated 15 April 2024, 2 months ago

Problem/Motivation

Sometimes i come across this error:
The service "domain_menu_access.default_tree_manipulators" has a dependency on a non-existent service "domain.negotiator".

Steps to reproduce

Difficult to reproduce. It would happen while deploying my site to the dev or production environment, after syncing the changed files, while performing a drush cr command after that and before performing a drush cim command

Proposed resolution

Do exactly as what was done in this issue: https://www.drupal.org/project/domain_path/issues/3063010 β†’
Load domain.negotiator service from the core service manager instead of injecting it into the DomainMenuLinkTreeManipulators class.

Remaining tasks

- create patch
- test and review

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium flyke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

    I'm not sure the patch is the way to go to fix this issue without any information why and how the patch is made.
    I would like to see some steps to reproduce first with the new 2.0.x branch to see if this is still happening.

  • Status changed to Closed: outdated 2 months ago
  • πŸ‡§πŸ‡ͺBelgium tim-diels Belgium πŸ‡§πŸ‡ͺ

    Closing as no response

Production build 0.69.0 2024