Commit Graph

14482 Commits

Author SHA1 Message Date
Fabien Potencier b2d2c12cad merged branch saem/ticket_8228 (PR #8229)
This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] Fixed OutOfBoundException when session handler_id is null

[FrameworkBundle] Fixed OutOfBoundException when session handler_id is null

When a null is provided for framework.session.handler_id the FrameworkExtension attempts to set the session storage to null for the 'session.storage.php_bridge' by altering the second argument. According to the session.xml service definition, there is no second argument, and it is in fact the first (read, 0 index) argument that should be changed.

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

Commits
-------

e3561ce [FrameworkBundle] Fixed OutOfBoundException when session handler_id is null
2013-06-08 16:54:12 +02:00
Pierre-Yves LEBECQ bce6bd2858 [DomCrawler] Fixed a fatal error when setting a value in a malformed field name. 2013-06-08 13:27:47 +02:00
Saem Ghani e3561ce49c [FrameworkBundle] Fixed OutOfBoundException when session handler_id is null
When a null is provided for framework.session.handler_id the FrameworkExtension attempts to set the session storage to null for the 'session.storage.php_bridge' by altering the second argument. According to the session.xml service definition, there is no second argument, and it is in fact the first (read, 0 index) argument that should be changed.
2013-06-07 15:05:01 -07:00
Fabien Potencier df0a02dc10 merged branch Seldaek/fix-container-opt (PR #8193)
This PR was merged into the 2.3 branch.

Discussion
----------

[DI] Fixes access of aliases shared services

Fixes #8096 and I noticed that the aliases methods weren't really needed anymore so I removed them. I think it's fine since they were protected, but did it in a separate commit in case you just want the bugfix.

Note that while the DI tests pass, I didn't run this patch as part of a real app. I'd appreciate if someone has the time to verify it still works given it's slightly critical code.

Commits
-------

81b122d [DependencyInjection] Add support for aliases of aliases + regression test
d8c0ef7 [DependencyInjection] Rename ContainerBuilder::$aliases to avoid conflicting with the parent class
bb797ee [DependencyInjection] Remove get*Alias*Service methods from compiled containers
379f5e0 [DependencyInjection] Fix aliased access of shared services, fixes #8096
2013-06-05 19:12:01 +02:00
Jordi Boggiano 81b122dd7b [DependencyInjection] Add support for aliases of aliases + regression test 2013-06-05 11:51:05 +02:00
Tobias Schultze 445b2e3dad [Console] fix status code when Exception::getCode returns something like 0.1 2013-06-05 10:14:54 +02:00
Fabien Potencier b219e0a9c6 merged branch jakzal/2.3-config-tests (PR #8178)
This PR was merged into the 2.3 branch.

Discussion
----------

[Config] Added few tests

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

Commits
-------

804b182 [Config] Added tests for the FileResource and DirectoryResource.
c5dda79 [Config] Fixed @covers annotation which ignored some of the methods from the code coverage.
bf769e0 [Config] Added tests for the ConfigCache.
2013-06-04 17:04:14 +02:00
Fabien Potencier e1f530eb7a merged branch jakzal/2.3-more-security-tests (PR #8177)
This PR was merged into the 2.3 branch.

Discussion
----------

[Security] Added more tests

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

Continuation of #8136

Commits
-------

5409852 [Security] Added few new test cases for the HttpUtils and improved readability of existing tests.
d6ab77e [Security] Added tests for the SwitchUserListener.
cccd005 [Security] Added tests for the ContextListener.
307bc91 [Security] Added a test to the BasicAuthenticationListener.
314f29a [Security] Removed an unnecessary call to sprintf() and added a test case.
2013-06-04 17:03:43 +02:00
Fabien Potencier 47a0a4c692 merged branch lyrixx/filesystem-docblock (PR #8181)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8181).

Discussion
----------

[2.4][Filesystem] Fixed doc block on Filesystem::rename

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

Commits
-------

891032c [Filesystem] Fixed doc block on Filesystem::rename
2013-06-04 17:02:05 +02:00
Grégoire Pineau 9527001399 Fixed doc block on Filesystem::rename
| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -
2013-06-04 17:02:05 +02:00
Fabien Potencier 18f55ffe5e merged branch havvg/hotfix/fix-bundle-command-instantiation (PR #8182)
This PR was merged into the 2.2 branch.

Discussion
----------

[HttpKernel] instantiate valid commands only

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | debatable ..
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

This skips the default behavior to instantiate `Command` that cannot simply be instantiated. The respective commands have to be registered by other means.

Commits
-------

afad9c7 instantiate valid commands only
2013-06-04 17:00:11 +02:00
Fabien Potencier 28a900150e merged branch Stelian/2.2 (PR #8183)
This PR was submitted for the 2.2 branch but it was merged into the 2.1 branch instead (closes #8183).

Discussion
----------

Fixed exit code for exceptions with error code 0

Covers https://github.com/symfony/symfony/issues/8180

Commits
-------

48e77f8 Fixed exit code for exceptions with error code 0
2013-06-04 16:58:25 +02:00
Stelian bbfde62d7c Fixed exit code for exceptions with error code 0 2013-06-04 16:58:25 +02:00
Jordi Boggiano d8c0ef705c [DependencyInjection] Rename ContainerBuilder::$aliases to avoid conflicting with the parent class 2013-06-04 15:12:01 +02:00
Jordi Boggiano bb797ee755 [DependencyInjection] Remove get*Alias*Service methods from compiled containers 2013-06-04 14:33:18 +02:00
Jordi Boggiano 379f5e08b4 [DependencyInjection] Fix aliased access of shared services, fixes #8096 2013-06-04 14:33:14 +02:00
Toni Uebernickel afad9c7894 instantiate valid commands only 2013-06-04 12:08:18 +02:00
Fabien Potencier 8d2cda3395 bumped Symfony version to -DEV 2013-06-03 17:11:57 +02:00
Fabien Potencier 6da9c5d35b updated VERSION for 2.3.0 2013-06-03 16:13:35 +02:00
Fabien Potencier 38259707ba updated CHANGELOG for 2.3.0 2013-06-03 16:13:02 +02:00
Jakub Zalas 804b1829ef [Config] Added tests for the FileResource and DirectoryResource. 2013-06-03 01:18:25 +01:00
Jakub Zalas c5dda79778 [Config] Fixed @covers annotation which ignored some of the methods from the code coverage. 2013-06-03 01:05:06 +01:00
Jakub Zalas bf769e0437 [Config] Added tests for the ConfigCache. 2013-06-03 00:52:04 +01:00
Jakub Zalas 540985275d [Security] Added few new test cases for the HttpUtils and improved readability of existing tests. 2013-06-02 23:50:02 +01:00
Jakub Zalas d6ab77e7e8 [Security] Added tests for the SwitchUserListener. 2013-06-02 22:56:02 +01:00
Jakub Zalas cccd0059dc [Security] Added tests for the ContextListener. 2013-06-02 18:27:22 +01:00
Jakub Zalas 307bc91e02 [Security] Added a test to the BasicAuthenticationListener. 2013-06-02 18:27:21 +01:00
Jakub Zalas 314f29a718 [Security] Removed an unnecessary call to sprintf() and added a test case. 2013-06-02 18:27:21 +01:00
Fabien Potencier 6b25213e23 Merge branch '2.2' into 2.3
* 2.2:
  bumped Symfony version to 2.2.3-DEV
  updated VERSION for 2.2.2
  updated CHANGELOG for 2.2.2
  removed CHANGELOG for 2.1
  updated VERSION for 2.1.11
  update CONTRIBUTORS for 2.1.11
  updated CHANGELOG for 2.1.11

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2013-06-02 18:04:08 +02:00
Fabien Potencier bc1bf3202d bumped Symfony version to 2.2.3-DEV 2013-06-02 18:01:55 +02:00
Fabien Potencier 34430e8dbf updated VERSION for 2.2.2 2013-06-02 15:03:09 +02:00
Fabien Potencier b9ca806048 updated CHANGELOG for 2.2.2 2013-06-02 15:02:48 +02:00
Fabien Potencier 93585f6514 removed CHANGELOG for 2.1 2013-06-02 14:54:39 +02:00
Fabien Potencier 57f93b89e8 Merge branch '2.1' into 2.2
* 2.1:
  updated VERSION for 2.1.11
  update CONTRIBUTORS for 2.1.11
  updated CHANGELOG for 2.1.11

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2013-06-02 14:53:48 +02:00
Fabien Potencier e029409fc8 updated VERSION for 2.1.11 2013-06-02 14:29:05 +02:00
Fabien Potencier b2c0861089 update CONTRIBUTORS for 2.1.11 2013-06-02 14:28:43 +02:00
Fabien Potencier 47c4a4f8cd updated CHANGELOG for 2.1.11 2013-06-02 14:28:22 +02:00
Fabien Potencier 7fb9c25f8c Merge branch '2.2' into 2.3
* 2.2:
  fixed typo in CS translation (closes #8069)
  fix arab translation
  [Finder] Fixed a path in a test.
  [Form] [Validator] Fixed post_max_size = 0 bug (Issue #8065)
2013-06-02 14:05:51 +02:00
Fabien Potencier afe18722d2 Merge branch '2.1' into 2.2
* 2.1:
  fixed typo in CS translation (closes #8069)
  [Form] [Validator] Fixed post_max_size = 0 bug (Issue #8065)

Conflicts:
	src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorTest.php
	src/Symfony/Component/Validator/Resources/translations/validators.cs.xlf
2013-06-02 14:05:41 +02:00
Fabien Potencier 49006b42a9 merged branch odi86/check-post-max-size-zero (PR #8149)
This PR was merged into the 2.1 branch.

Discussion
----------

[Form] [Validator] Fixed post_max_size = 0 bug (issue #8065)

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

Commits
-------

2038329 [Form] [Validator] Fixed post_max_size = 0 bug (Issue #8065)
2013-06-02 14:03:10 +02:00
Fabien Potencier b9dadbbf21 merged branch uuf6429/master (PR #8170)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8170).

Discussion
----------

ErrorHandler and $context fixes

Fixes a minor issue with optional parameters not being optional and added support for `ContextErrorException` class as detailed here: https://github.com/fabpot/Silex/issues/717

Commits
-------

784726d ErrorHandler and  fixes
2013-06-02 13:58:44 +02:00
Christian Sciberras 3db0360bd9 ErrorHandler and fixes 2013-06-02 13:58:44 +02:00
Fabien Potencier 6d55422fd0 fixed typo in CS translation (closes #8069) 2013-06-02 13:57:02 +02:00
Fabien Potencier b677538205 merged branch bghazy/master (PR #8169)
This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #8169).

Discussion
----------

fix arab translation

fix arab translation

Commits
-------

e9051b3 fix arab translation
2013-05-31 16:46:43 +02:00
ghazy ben ahmed 009c50dd5b fix arab translation 2013-05-31 16:46:42 +02:00
Fabien Potencier b5c9bb8e03 merged branch Tobion/console-dispatcher (PR #8158)
This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] set the dispatcher in the console application

BC break: no
test pass: yes

Otherwise events are not dispatched in symfony frameworkbundle.
The first commit fixes a related typehint in the console.

Commits
-------

e93fc7a [FrameworkBundle] set the dispatcher in the console application
176a3d4 [Console] fix typehint for Application::setDispatcher
2013-05-30 07:11:26 +02:00
Fabien Potencier d14db588f5 merged branch iJanki/fix_field (PR #8159)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8159).

Discussion
----------

[FrameworkBundle] Removed reference to FieldType in form.xml

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

Removed reference of deprecated FieldType class in FrameworkBundle form.xml configuragion.

Commits
-------

bd2e689 [FrameworkBundle] Removed reference to Symfony\Component\Form\Extension\Core\Type\FormType in form.xml
2013-05-29 10:49:10 +02:00
Daniele Cesarini 0bd9d2c849 Removed reference to Symfony\Component\Form\Extension\Core\Type\FormType in form.xml 2013-05-29 10:49:10 +02:00
Fabien Potencier 42b0fe4e35 merged branch peterkokot/translations-2.3 (PR #8160)
This PR was merged into the 2.3 branch.

Discussion
----------

slovenian validator translations updated

Slovenian validator component translations updated.

Commits
-------

35c6768 slovenian validator translations updated
2013-05-29 10:48:18 +02:00
peter 35c6768bb7 slovenian validator translations updated 2013-05-29 10:42:58 +02:00