Circular reference exception triggered while enabling the module

Created on 9 October 2023, 9 months ago

Problem/Motivation

Circular reference exception triggered while enabling the module on Drupal 10.1.4 & 10.1.5.

The website encountered an unexpected error. Please try again later.
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "serializer", path: "rest.resource_response.subscriber -> serializer -> serialization.exception.default". in Drupal\Component\DependencyInjection\Container->get() (line 147 of core/lib/Drupal/Component/DependencyInjection/Container.php).

Steps to reproduce

Enable module "RESTful Web Services" in UI on 'example.com/admin/modules'.

Can anyone reproduce this or is it just at my side?

πŸ› Bug report
Status

Closed: cannot reproduce

Version

10.1 ✨

Component
RESTΒ  β†’

Last updated 4 days ago

Created by

πŸ‡¨πŸ‡ΏCzech Republic XSramik

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

Comments & Activities

  • Issue created by @XSramik
  • Status changed to Postponed: needs info 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cilefen

    Unfortunately I cannot reproduce the bug by installing Drupal 10.1.5 and enabling the module. That doesn't mean there isn't a bug. It just means that there are more steps to reproduce that need documenting. Please add to the issue description all the steps needed to reproduce the bug.

    This seems related to πŸ’¬ Symfony upgrade leads to circular dependency Postponed: needs info , which is unresolved due to lack of information.

  • πŸ‡¨πŸ‡ΏCzech Republic XSramik
  • Status changed to Closed: cannot reproduce 9 months ago
  • πŸ‡¨πŸ‡ΏCzech Republic XSramik

    Hello Cilefen, thank you for looking into it so quickly. Despite the log message, the problem was within another module which implements CSV serialization in (likely) outdated way. I just replaced that module and everything works well.

    I am closing this as the 'rest.module' works as should.

Production build 0.69.0 2024