Skip to content

make it possible to use multiple to_email in XML #91

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
Aug 18, 2014

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Aug 16, 2014

The Configuration class allows to configure more than one recipient (see symfony/symfony-docs#4135). Since the to_email field was configured as an attribute in XML configurations, it couldn't be specified multiple times.

@stof
Copy link
Member

stof commented Aug 18, 2014

Can you add a test covering the configuration of multiple recipient emails in XML and YAML to avoid regressions here ?

The Configuration class allows to configure more than one recipient.
Since the to_email field was configured with XML configurations as
an attribute couldn't be specified multiple times.
@xabbuh
Copy link
Member Author

xabbuh commented Aug 18, 2014

@stof Added tests for it.

@stof
Copy link
Member

stof commented Aug 18, 2014

Thanks for fixing this bug @xabbuh.

@stof stof merged commit 44505b6 into symfony:master Aug 18, 2014
stof added a commit that referenced this pull request Aug 18, 2014
This PR was merged into the 2.1.x-dev branch.

Discussion
----------

make it possible to use multiple to_email in XML

The Configuration class allows to configure more than one recipient (see symfony/symfony-docs#4135). Since the ``to_email`` field was configured as an attribute in XML configurations, it couldn't be specified multiple times.

Commits
-------

44505b6 make it possible to use multiple to_email in XML
@xabbuh
Copy link
Member Author

xabbuh commented Aug 18, 2014

Cheers! Thanks for merging @stof.

@xabbuh xabbuh deleted the multiple-recipients-xsd branch August 18, 2014 23:05
weaverryan added a commit to symfony/symfony-docs that referenced this pull request Aug 25, 2014
… configs (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Logging] document multiple recipients in XML configs

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes (symfony/monolog-bundle#91)
| Applies to    | all
| Fixed tickets | #3940, #4135

Commits
-------

37ab23d document multiple recipients in XML configs
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.

2 participants