Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags.invalidator -> adv_vanish.cache_manager -> router -> router.no_access_checks".

Created on 24 June 2022, over 2 years ago
Updated 20 February 2024, 10 months ago

Problem/Motivation

The following error occurs when using adv_varnish in combination with the domains module:
Circular reference detected for service "domain.route_provider", path: "options_request_listener -> domain.route_provider -> cache_tags.invalidator -> adv_vanish.cache_manager -> router -> router.no_access_checks".

Steps to reproduce

Enable the domain_config module in combination with adv_varnish

Proposed resolution

The issue resides in the domains module service domain_config.overrider in combination with the adv_varnish adv_vanish.cache_manager service.
Currently I've created a patch to solve the circular dependancy on the adv_varnish side, as the domain module is almost not fixable because of the tagging implementation.

Remaining tasks

Looking into the correct location of the fix, does it need to reside in the adv_varnish or the domain module.

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇧🇪Belgium hoebekewim

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.

Production build 0.71.5 2024