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

Doctrine Migration Bundle (bin/console make:migration ?) runs its own checks for the Messenger component settings #49120

Copy link
Copy link
Closed as not planned
@DavidGarciaCat

Description

@DavidGarciaCat
Issue body actions

Symfony version(s) affected

5.4.12

Description

Good day,

As per my report here doctrine/DoctrineMigrationsBundle#485 it seems this issue I am experiencing with the Doctrine Bundle and the Messenger component working with the AMQP implementation are caused by this pull request #36655

It seems the Messenger.yaml file works file when warming up the cache but it throws an error with the Doctrine Bundle and generating migrations - the lines that cause the error seem to be:

                options:
                    exchange:
                        name: async
                        type: direct

Any ideas here?

According to bin/console --version I am running Symfony 5.4.12

Thanks,

How to reproduce

I have a project including the Messenger AMQP vendor as well as the Doctrine Pack.

I get the error when I set up the AMQP transport with the options.exchange key and try to generate a diff migration:

                options:
                    exchange:
                        name: async
                        type: direct

Possible Solution

I'm open to suggestions, but based on doctrine/DoctrineMigrationsBundle#485 it seems to be an issue with the update merged here #36655

Additional Context

No response

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.