8000 [2.7] [FrameworkBundle] bugfix in configuration for assets by phansys · Pull Request #13701 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.7] [FrameworkBundle] bugfix in configuration for assets #13701

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

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

phansys
Copy link
Contributor
@phansys phansys commented Feb 15, 2015
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

If both of configurations are defined, the exception breaks because it isn't
defined properly (missing backslash in FQCN for \LogicException).
Also, the message was wrong (it's referred to "templating.templating" instead of
"framework.templating").

@jakzal
8000 Copy link
Contributor
jakzal commented Feb 15, 2015

This was also fixed as part of #13672.

@jakzal
Copy link
Contributor
jakzal commented Feb 15, 2015

I'll remove it from #13672, as this PR also fixes the message.

@@ -86,6 +86,24 @@ public function testInvalidValueTrustedProxies()
));
}

/**
* @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you also add @expectedExceptionMessage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jakzal, done.

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

If both of configurations are defined, the exception is break because it isn't
defined properly (missing backslash in FQCN for ```\LogicException```).
Also, the message was wrong (it's referred to "templating.templating" instead of
"framework.templating").
@phansys phansys force-pushed the bugfix_framework_bundle branch from 5e40de9 to 3b4c23f Compare February 15, 2015 21:49
@fabpot
Copy link
Member
fabpot commented Feb 16, 2015

Thank you @phansys.

@fabpot fabpot merged commit 3b4c23f into symfony:2.7 Feb 16, 2015
fabpot added a commit that referenced this pull request Feb 16, 2015
…ts (phansys)

This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] [FrameworkBundle] bugfix in configuration for assets

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

If both of configurations are defined, the exception breaks because it isn't
defined properly (missing backslash in FQCN for ```\LogicException```).
Also, the message was wrong (it's referred to "templating.templating" instead of
"framework.templating").

Commits
-------

3b4c23f [2.7] [FrameworkBundle] bugfix in configuration for assets
@phansys phansys deleted the bugfix_framework_bundle branch February 16, 2015 13:13
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.

3 participants
0