Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DependencyInjection] circular references using setter #25240

Copy link
Copy link
Closed
@ElectricMaxxx

Description

@ElectricMaxxx
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 4.0

Hi,

i think i have an issue with circular references in our Symfony 4.0 build on DoctrinePhpcrBundle.

You can reproduce it it by:

git clone https://github.com/doctrine/DoctrinePHPCRBundle.git
git checkout allow_symfony_4.0
composer config minimum-stability dev
composer require symfony/symfony:^4.0 --no-update
composer update --prefer-dist

(same as travis does it)
Then you can call every console command (lives in testing component, kernel is here):

 export KERNEL_CLASS=Doctrine\\Bundle\\PHPCRBundle\\Tests\\Fixtures\\App\\Kernel && ./vendor/symfony-cmf/testing/bin/travis/../console doctrine:phpcr:init:dbal --drop -vvv

You should see the issue then. Currently i do no know why? Are we doing something wrong with the service definition or is it the setter for the TranslationStrategy. When debugging into i got the following image at the end where the exception is thrown:

selection_125

Notice:

  • The builds on Symfony 3.3, 3.4 and 2.8 are green

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.