Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix FQCN in PHP example for expression language #9420

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

Closed
wants to merge 1 commit into from

Conversation

hacfi
Copy link
Contributor

@hacfi hacfi commented Mar 9, 2018

I was following the example and got an error You have requested a non-existent service \"AppMailMailerConfiguration\". I debugged it and I think it’s not an code issue but just the documentation. The YAML version also uses 4 \. Maybe we need to fix the XML version as well but I wasn’t sure and didn’t have time to test it.

@wouterj
Copy link
Member

wouterj commented Mar 10, 2018

👍 This is indeed correct (thanks to the many engines that parse this string and remove one backslash).

I think XML would need just two backslashes (as the XML engine, unlike YAML and PHP, doesn't remove backslashes from text). Feel free to push another commit to this branch to fix that, or we'll manage during the merge.

status: reviewed

@hacfi
Copy link
Contributor Author

hacfi commented Mar 11, 2018

@wouterj I just tried it out and you’re right: in XML you just need two backslashes. Created #9422 for it

javiereguiluz added a commit that referenced this pull request Mar 11, 2018
This PR was submitted for the 4.0 branch but it was merged into the 3.4 branch instead (closes #9422).

Discussion
----------

Fix FQCN in XML example for expression language

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

As discussed in #9420

Commits
-------

29c981c Fix FQCN in XML example for expression language
@javiereguiluz javiereguiluz added this to the 3.4 milestone Mar 11, 2018
@javiereguiluz
Copy link
Member

Thanks for this one too. Merged it on 3.4 branch.

javiereguiluz added a commit that referenced this pull request Mar 11, 2018
This PR was submitted for the 4.0 branch but it was merged into the 3.4 branch instead (closes #9420).

Discussion
----------

Fix FQCN in PHP example for expression language

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

I was following the example and got an error `You have requested a non-existent service \"AppMailMailerConfiguration\"`. I debugged it and I think it’s not an code issue but just the documentation. The YAML version also uses 4 `\`. Maybe we need to fix the XML version as well but I wasn’t sure and didn’t have time to test it.

Commits
-------

a268135 Fix FQCN in PHP example for expression language
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.