This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Nicolas Grekas bc03c1bebb bug #29196 [Messenger] Fix collecting messages (ro0NL)
This PR was merged into the 4.2-dev branch.

Discussion
----------

[Messenger] Fix collecting messages

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no-ish
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

In 4.2 there's always one dispatched message because we provide the template with a generator. Calling `{{ gen|length }}` always returns `1`

Before

![image](https://user-images.githubusercontent.com/1047696/48368788-f0028980-e6b4-11e8-91b0-54f755b9fb93.png)

After

![image](https://user-images.githubusercontent.com/1047696/48368817-0ad4fe00-e6b5-11e8-8215-54bfdb307c47.png)

Commits
-------

bfc7d94169 [Messenger] Fix collecting messages
2018-11-14 11:19:37 +01:00
..
Asset Merge branch '4.1' 2018-11-11 20:52:12 +01:00
BrowserKit Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Cache Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Config Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Console Merge branch '4.1' 2018-11-11 20:52:12 +01:00
CssSelector Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Debug Merge branch '4.1' 2018-11-11 20:52:12 +01:00
DependencyInjection Merge branch '4.1' 2018-11-11 20:52:12 +01:00
DomCrawler Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Dotenv [Dotenv] skip loading "local" env twice 2018-11-13 20:27:38 +01:00
EventDispatcher Merge branch '4.1' 2018-11-11 20:52:12 +01:00
ExpressionLanguage Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Filesystem Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Finder Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Form Merge branch '4.1' 2018-11-11 20:52:12 +01:00
HttpFoundation Merge branch '4.1' 2018-11-11 20:52:12 +01:00
HttpKernel [HttpKernel] Fix collecting uploaded files 2018-11-13 17:04:17 +01:00
Inflector Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Intl Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Ldap Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Lock Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Messenger bug #29196 [Messenger] Fix collecting messages (ro0NL) 2018-11-14 11:19:37 +01:00
OptionsResolver Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Process Merge branch '4.1' 2018-11-11 20:52:12 +01:00
PropertyAccess Merge branch '4.1' 2018-11-11 20:52:12 +01:00
PropertyInfo Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Routing Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Security Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Serializer Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Stopwatch Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Templating Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Translation Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Validator Merge branch '4.1' 2018-11-11 20:52:12 +01:00
VarDumper Merge branch '4.1' 2018-11-11 20:52:12 +01:00
VarExporter Merge branch '4.1' 2018-11-11 20:52:12 +01:00
WebLink Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Workflow Merge branch '4.1' 2018-11-11 20:52:12 +01:00
Yaml Merge branch '4.1' 2018-11-11 20:52:12 +01:00