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
Fabien Potencier 6c10b6966d merged branch fabpot/event-services-check (PR #9006)
This PR was merged into the 2.2 branch.

Discussion
----------

Fixed registration of private event listeners/subscribers

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #6541
| License       | MIT
| Doc PR        | n/a

When registering a private event subscriber/listener, the listener was just ignored.

This PR does two things to fix the problem:

 * the event listener pass is done earlier to get access to the private services
 * when a private service is identified, a proper exception is thrown

Commits
-------

8444339 [HttpKernel] added a check for private event listeners/subscribers
427ee19 [FrameworkBundle] fixed registration of the register listener pass
2013-09-12 14:49:21 +02:00
..
CacheWarmer Nsdocblocks 2012-10-20 09:10:30 +02:00
Command Added sleep() workaround for windows php rename bug 2013-08-15 15:44:11 +02:00
Console [FrameworkBundle] tweaked previous merge (refs #8242) 2013-06-13 09:07:59 +02:00
Controller Merge branch '2.1' into 2.2 2013-03-11 18:18:44 +01:00
DataCollector moved the request data collector to HttpKernel 2012-07-18 10:39:53 +02:00
DependencyInjection [HttpKernel] added a check for private event listeners/subscribers 2013-09-12 14:41:57 +02:00
EventListener [FrameworkBundle] removed obsolete comment (see 2e356c1) 2013-02-04 18:48:13 +01:00
Fragment fixed HInclude renderer (closes #7113) 2013-02-19 08:24:52 +01:00
HttpCache Fix typo change String to string 2012-07-06 19:52:14 +03:00
Resources [Form] Removed the "disabled" attribute from the placeholder option in select fields due to problems with the BlackBerry 10 browser 2013-08-01 10:41:32 +02:00
Routing Routing issue with installation in a sub-directory 2013-02-26 13:42:14 -03:00
Templating typos 2013-09-03 19:10:25 +02:00
Test added missing comments to WebTestCase 2013-07-21 14:18:53 +02:00
Tests merged branch fabpot/event-services-check (PR #9006) 2013-09-12 14:49:21 +02:00
Translation [FrameworkBundle] added support for double-quoted strings in the extractor (closes #8797) 2013-08-28 11:44:32 +02:00
Validator Fixed most of the docblocks/unused namespaces 2012-12-19 08:09:49 +01:00
CHANGELOG.md renamed some classes and Twig functions to more descriptive names (refs #6871) 2013-02-01 15:17:20 +01:00
Client.php Merge branch '2.1' 2013-01-23 21:21:00 +01:00
composer.json Merge branch '2.1' into 2.2 2013-02-23 07:46:07 +01:00
FrameworkBundle.php [FrameworkBundle] fixed registration of the register listener pass 2013-09-12 14:30:12 +02:00
HttpKernel.php changed sub-requests creation to '::create()' 2013-03-15 11:44:42 +01:00
LICENSE updated license year 2013-01-04 17:59:43 +01:00