{"comment":{"created_at":"2011-10-23T12:17:54Z","body":"@jmikola: yes, that issue describes my problem. I just created a test case using standard symfony and was able to reproduce it. I'm gonna upload this testcase","updated_at":"2011-10-23T12:17:54Z","url":"https://api.github.com/repos/symfony/symfony/issues/comments/2495067","id":2495067,"user":{"avatar_url":"https://secure.gravatar.com/avatar/44132824e4f88da10f47950e2c5ae702?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"44132824e4f88da10f47950e2c5ae702","url":"https://api.github.com/users/barros001","id":765936,"login":"barros001"}},"action":"created","issue":{"number":2139,"created_at":"2011-09-08T16:56:19Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Hey guys!\r\n\r\nI've noticed a possible inconsistency today. The setup is simple: import two routes with the same name but different patterns from different resource files (so that they don't YAML-override). For example:\r\n\r\n    # some routing.yml that's imported\r\n    foo_page:\r\n        pattern:  /foo\r\n        defaults: { _controller: MainBundle:Default:homepage }\r\n\r\n    # some other routing.yml that's imported\r\n    foo_page:\r\n        pattern:  /second-foo-page\r\n        defaults: { _controller: MainBundle:Default:homepage }\r\n\r\n* when the matcher is dumped, both routes appear, but the first pattern appears first\r\n* when the generator is dumped, only the second route appears, and is used for all generation\r\n\r\nI believe the proper behavior should be that only the second route is used in the matcher, to be consistent with the dumper. \r\n\r\nThanks!","comments":14,"title":"For duplicate routes, matcher dumps both, generator only the second","updated_at":"2011-10-23T12:17:54Z","url":"https://api.github.com/repos/symfony/symfony/issues/2139","id":1600221,"assignee":null,"milestone":null,"closed_at":"2011-09-30T10:04:58Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/681e6d4d4cf91760e5e1d8ac9d6d7fc4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"681e6d4d4cf91760e5e1d8ac9d6d7fc4","url":"https://api.github.com/users/weaverryan","id":121003,"login":"weaverryan"},"html_url":"https://github.com/symfony/symfony/issues/2139","labels":[{"name":"Bug","url":"https://api.github.com/repos/symfony/symfony/labels/Bug","color":"e10c02"},{"name":"Routing","url":"https://api.github.com/repos/symfony/symfony/labels/Routing","color":"02d7e1"}],"state":"closed"},"legacy":{"issue_id":1600221,"comment_id":2495067}}