I don't like the sometimes part of this bug. I can randomly reproduce it by setting and removing debug="true" to force it to regenerate. So far I've seen it multiple times in the minified version and one time on the regular version, so I don't think it's related to minification.
Most of the times this is generated:
window.Router = new RouteJs.RouteManager({
"routes": [{
"url": "",
"defaults": {
"language": "nl",
"controller": "Dashboard",
"action": "Index"
},
"constraints": {},
"optional": []
}, {
"url": "logging/exceptions/{resource}/{subResource}",
"defaults": {
"controller": "Logging",
"action": "Exceptions"
},
"constraints": {},
"optional": ["resource", "subResource"]
}, {
"url": "{language}/{controller}/{action}/{id}",
"defaults": {},
"constraints": {},
"optional": ["id"]
}, {
"url": "{language}/{controller}",
"defaults": {},
"constraints": {},
"optional": []
}],
"baseUrl": "/"
});
Sometimes this is generated:
window.Router = new RouteJs.RouteManager({
"routes": [{
"url": "",
"defaults": null,
"constraints": {},
"optional": null
}, {
"url": "logging/exceptions/{resource}/{subResource}",
"defaults": null,
"constraints": {},
"optional": null
}, {
"url": "{language}/{controller}/{action}/{id}",
"defaults": null,
"constraints": {},
"optional": null
}, {
"url": "{language}/{controller}",
"defaults": null,
"constraints": {},
"optional": null
}],
"baseUrl": "/"
});
Any idea what could cause this?
I don't like the sometimes part of this bug. I can randomly reproduce it by setting and removing
debug="true"to force it to regenerate. So far I've seen it multiple times in the minified version and one time on the regular version, so I don't think it's related to minification.Most of the times this is generated:
Sometimes this is generated:
Any idea what could cause this?