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/Bundle/FrameworkBundle
Nicolas Grekas 3398c4b881 bug #24971 [FrameworkBundle] Empty event dispatcher earlier in CacheClearCommand (nicolas-grekas)
This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] Empty event dispatcher earlier in CacheClearCommand

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Once the cache folder is emptied, the event dispatcher cannot be used because service factories are gone. This currently fails very badly when an error is dispatched, but the error listeners are themselves failing to be loaded for this reason.

Commits
-------

a961392 [FrameworkBundle] Empty event dispatcher earlier in CacheClearCommand
2017-11-16 23:39:45 +02:00
..
CacheWarmer [FrameworkBundle] Fine-tune generated annotations.php cache 2017-11-09 13:39:01 +01:00
Command [FrameworkBundle] Empty event dispatcher earlier in CacheClearCommand 2017-11-15 00:32:17 +02:00
Console Merge branch '3.3' into 3.4 2017-11-07 15:20:24 +01:00
Controller [3.4] Remove useless docblocks 2017-11-07 15:28:09 +01:00
DataCollector [FrameworkBundle] Extends the RequestDataCollector 2016-03-30 19:02:53 +02:00
DependencyInjection Add default translations path option and convention 2017-11-10 15:13:35 -05:00
EventListener Remove useless docblocks 2017-10-29 10:49:53 +01:00
HttpCache Merge branch '2.8' into 3.3 2017-10-02 08:42:24 +02:00
Kernel [DI] Turn services and aliases private by default, with BC layer 2017-09-19 11:28:48 +02:00
Resources Merge branch '3.3' into 3.4 2017-11-16 17:25:26 +02:00
Routing Merge branch '3.3' into 3.4 2017-10-24 16:12:06 +02:00
Templating Merge branch '3.3' into 3.4 2017-10-28 18:49:05 +02:00
Test Merge branch '3.3' into 3.4 2017-10-28 18:49:05 +02:00
Tests Add default translations path option and convention 2017-11-10 15:13:35 -05:00
Translation Merge branch '3.3' into 3.4 2017-11-05 17:10:10 +01:00
Validator Merge branch '2.8' into 3.3 2017-10-24 16:05:06 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md Add default translations path option and convention 2017-11-10 15:13:35 -05:00
Client.php Merge branch '2.8' into 3.3 2017-11-07 12:58:40 +01:00
composer.json [DI] Add "container.hot_path" tag to flag the hot path and inline related services 2017-11-09 15:14:31 +01:00
FrameworkBundle.php [DI] Add "container.hot_path" tag to flag the hot path and inline related services 2017-11-09 15:14:31 +01:00
LICENSE updated LICENSE year 2017-01-02 12:30:00 -08:00
phpunit.xml.dist Merge branch '3.2' 2017-04-12 07:14:56 -07:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00