Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection] Fix named args support in ChildDefinition#22981
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh commentedMay 31, 2017
I would also update the exception message. "$index must be an integer." is not really right anymore. |
dunglas commentedMay 31, 2017
@xabbuh updated, |
xabbuh commentedMay 31, 2017
dunglas commentedMay 31, 2017
@xabbuh updated |
Tobion commentedMay 31, 2017
The exception message in
is also not correct anymore in case an argument exists as a string. Then you can't actually access the argument with the given range. |
yukoff commentedMay 31, 2017
Seems false alarm, I'll remove confusing comment to avoid indexing and leading others to wrong place ;) |
yukoff commentedMay 31, 2017
Despitemy false alarm in#22979 ;) still doesn't work with PR applied locally: Service description is quite trivial <serviceid="sulu_admin.js_config_pool"class="%sulu_admin.js_config_pool.class%"/> |
nicolas-grekas left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
👍
nicolas-grekas commentedJun 2, 2017
@yukoff named args must start with a |
yukoff commentedJun 2, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
My previous comment is not actual as ofsulu/sulu#3379 - works now. @nicolas-grekas not quite sure I got to where you're referencing... ;) |
nicolas-grekas commentedJun 2, 2017
I'm referencing the error message you pasted just above: it looks legit to me. |
yukoff commentedJun 2, 2017
Oh... Anyway it seems not actual any more, thanks! |
fabpot commentedJun 5, 2017
Thank you@dunglas. |
…ition (dunglas)This PR was squashed before being merged into the 3.3 branch (closes#22981).Discussion----------[DependencyInjection] Fix named args support in ChildDefinition| Q | A| ------------- | ---| Branch? | 3.3| Bug fix? | yes| New feature? | no <!-- don't forget updating src/**/CHANGELOG.md files -->| BC breaks? | no| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR | n/aFollowing@Tobion's review of#21383.Commits-------1ab3e41 [DependencyInjection] Fix named args support in ChildDefinition
Following@Tobion's review of#21383.