Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Routing] correctly initialize condition as string #12403

Merged
merged 1 commit into from
Nov 9, 2014

Conversation

Tobion
Copy link
Member

@Tobion Tobion commented Nov 3, 2014

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

@@ -64,7 +64,7 @@ class Route implements \Serializable
/**
* @var string
*/
private $condition;
private $condition = '';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed when deserializing (that does not call constructor) without condition. See #12397

@fabpot
Copy link
Member

fabpot commented Nov 9, 2014

Good catch, thanks @Tobion.

@fabpot fabpot merged commit ffe863c into symfony:2.5 Nov 9, 2014
fabpot added a commit that referenced this pull request Nov 9, 2014
This PR was merged into the 2.5 branch.

Discussion
----------

[Routing] correctly initialize condition as string

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

Commits
-------

ffe863c [Routing] correctly initialize condition as string
@Tobion Tobion deleted the route-condition-type branch November 9, 2014 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants