[Routing][XML Loader] Add a possibility to set a default value to null #7581

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

aitboudad commented Apr 6, 2013

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #7335
License MIT

Example:

<route id="acme_user_show" pattern="/{id}">
    <default key="_controller">AcmeUserBundle:User:show</default>
    <default key="id" xsi:nil="true" />
    <requirement key="id">\d+</requirement>
</route>
Owner

fabpot commented Apr 9, 2013

Can you add some unit tests and open a new PR on 2.1 as this is a bug? Thanks.

@aitboudad aitboudad closed this Apr 11, 2013

@aitboudad aitboudad deleted the aitboudad:ticket_7335 branch Apr 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment