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

[Messenger][BC-break] Sync transport can no longer be configured by env variable #34115

Copy link
Copy link
Closed
@Devristo

Description

@Devristo
Issue body actions

Symfony version(s) affected: 4.4.x-dev
Description
Since #34069 the sync:// transport is handled differently.
The case when the transport name is defined using an environment variable is broken.

Works:

framework:
   messenger:
     transports:
       default: "sync://"

Broken case:

parameters:
  env(MESSENGER_TRANSPORT): sync://

framework:
   messenger:
     transports:
       default: "%env(MESSENGER_TRANSPORT)%"

Yields No transport supports the given Messenger DSN "sync://" when dispatching a message.

How to reproduce
See https://github.com/Devristo/sf4.4-messenger-bug for a reproducer.

Possible Solution

  • Document this BC-break
  • Fix the BC-break: If someone could give me some pointers I am willing to implement a fix.

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.