-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Description
On 12/15/2015 I verified that this bug exists with a simple Symfony 2.6 install and the FOSJsRoutingBundle (I wanted to eliminate any other bundle as the culprit).
- This issue is preventing us from moving to Symfony 2.6..or it will force us to stop using FOSJsRoutingBundle
After updating to Symfony 2.6 we see the following behavior:
Only routes exposed to javascript are available to the router.
Example route definitions:
markcross_dmca_complaint:
pattern: /dmca/notice-of-complaint
defaults: { _controller: MarkCrossCoreBundle:DMCA:complaint }
methods: [GET, POST]
options:
expose: true
markcross_dmca_counter:
pattern: /dmca/counter-notification
defaults: { _controller: MarkCrossCoreBundle:DMCA:counter }
methods: [GET, POST]router:debug output
> php app/console router:debug | grep dmca
markcross_dmca_complaint GET|POST ANY ANY /dmca/notice-of-complaintIf we disable the fosjsroutingbundle we get all of our routes again.
Our composer.lock information is as follows
{
"name": "friendsofsymfony/jsrouting-bundle",
"version": "1.5.3",
"target-dir": "FOS/JsRoutingBundle",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfSymfony/FOSJsRoutingBundle.git",
"reference": "dade3bb0b21007e5c0fb40f203ed197841eb913c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfSymfony/FOSJsRoutingBundle/zipball/dade3bb0b21007e5c0fb40f203ed197841eb913c",
"reference": "dade3bb0b21007e5c0fb40f203ed197841eb913c",
"shasum": ""
},
"require": {
"php": ">=5.3.2",
"symfony/console": "~2.0",
"symfony/framework-bundle": "~2.0",
"symfony/serializer": "~2.0",
"willdurand/jsonp-callback-validator": "~1.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "1.5-dev"
}
},
"autoload": {
"psr-0": {
"FOS\\JsRoutingBundle": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "William Durand",
"email": "william.durand1@gmail.com",
"homepage": "http://www.willdurand.fr"
},
{
"name": "FriendsOfSymfony Community",
"homepage": "https://github.com/friendsofsymfony/FOSJsRoutingBundle/contributors"
}
],
"description": "A pretty nice way to expose your Symfony2 routing to client applications.",
"homepage": "http://friendsofsymfony.github.com",
"keywords": [
"Js Routing",
"javascript",
"routing"
],
"time": "2014-01-23 21:25:39"
},
{
"name": "symfony/framework-bundle",
"version": "v2.6.1",
"target-dir": "Symfony/Bundle/FrameworkBundle",
"source": {
"type": "git",
"url": "https://github.com/symfony/FrameworkBundle.git",
"reference": "bea9435d5ca931b8831ba3e29baa4bfd3a80a889"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/FrameworkBundle/zipball/bea9435d5ca931b8831ba3e29baa4bfd3a80a889",
"reference": "bea9435d5ca931b8831ba3e29baa4bfd3a80a889",
"shasum": ""
},
"require": {
"doctrine/annotations": "~1.0",
"php": ">=5.3.3",
"symfony/config": "~2.4",
"symfony/dependency-injection": "~2.2",
"symfony/event-dispatcher": "~2.5",
"symfony/filesystem": "~2.3",
"symfony/http-foundation": "~2.4",
"symfony/http-kernel": "~2.6",
"symfony/routing": "~2.2",
"symfony/security-core": "~2.4",
"symfony/security-csrf": "~2.4",
"symfony/stopwatch": "~2.3",
"symfony/templating": "~2.1",
"symfony/translation": "~2.3"
},
"require-dev": {
"symfony/browser-kit": "~2.3",
"symfony/class-loader": "~2.1",
"symfony/console": "~2.0",
"symfony/expression-language": "~2.4",
"symfony/finder": "~2.0",
"symfony/form": "~2.6",
"symfony/process": "~2.0",
"symfony/security": "~2.4",
"symfony/validator": "~2.5",
"symfony/yaml": "~2.0"
},
"suggest": {
"doctrine/cache": "For using alternative cache drivers",
"symfony/console": "For using the console commands",
"symfony/finder": "For using the translation loader and cache warmer",
"symfony/form": "For using forms",
"symfony/validator": "For using validation",
"symfony/yaml": "For using the config:debug and yaml:lint commands"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "2.6-dev"
}
},
"autoload": {
"psr-0": {
"Symfony\\Bundle\\FrameworkBundle\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Symfony Community",
"homepage": "http://symfony.com/contributors"
},
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "Symfony FrameworkBundle",
"homepage": "http://symfony.com",
"time": "2014-12-02 20:19:20"
}Metadata
Metadata
Assignees
Labels
No labels