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

Commit 796c8fe

Browse filesBrowse files
committed
bug #27199 [Messenger] Fix default bus name (ogizanagi)
This PR was merged into the 4.1 branch. Discussion ---------- [Messenger] Fix default bus name | Q | A | ------------- | --- | Branch? | 4.1 <!-- see below --> | Bug fix? | yesish | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #27162 <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A After #27162, the default bus name configured automatically should use a full service id too, otherwise we currently get a `default` service id, no namespace identifier, which is the default bus. Commits ------- fa9b984 [Messenger] Fix default bus name
2 parents b931902 + fa9b984 commit 796c8fe
Copy full SHA for 796c8fe

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ function ($a) {
10471047
->end()
10481048
->scalarNode('default_bus')->defaultValue(null)->end()
10491049
->arrayNode('buses')
1050-
->defaultValue(array('default' => array('default_middleware' => true, 'middleware' => array())))
1050+
->defaultValue(array('messenger.bus.default' => array('default_middleware' => true, 'middleware' => array())))
10511051
->useAttributeAsKey('name')
10521052
->prototype('array')
10531053
->addDefaultsIfNotSet()

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
263263
'encoder' => 'messenger.transport.serializer',
264264
'decoder' => 'messenger.transport.serializer',
265265
'default_bus' => null,
266-
'buses' => array('default' => array('default_middleware' => true, 'middleware' => array())),
266+
'buses' => array('messenger.bus.default' => array('default_middleware' => true, 'middleware' => array())),
267267
),
268268
);
269269
}

0 commit comments

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