{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/10521","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/10521/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/10521/comments","events_url":"https://api.github.com/repos/angular/angular/issues/10521/events","html_url":"https://github.com/angular/angular/issues/10521","id":169584875,"number":10521,"title":"[Router] passing more than 1 parameter","user":{"login":"mleonhartsberger","id":20722294,"avatar_url":"https://avatars.githubusercontent.com/u/20722294?v=3","gravatar_id":"","url":"https://api.github.com/users/mleonhartsberger","html_url":"https://github.com/mleonhartsberger","followers_url":"https://api.github.com/users/mleonhartsberger/followers","following_url":"https://api.github.com/users/mleonhartsberger/following{/other_user}","gists_url":"https://api.github.com/users/mleonhartsberger/gists{/gist_id}","starred_url":"https://api.github.com/users/mleonhartsberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mleonhartsberger/subscriptions","organizations_url":"https://api.github.com/users/mleonhartsberger/orgs","repos_url":"https://api.github.com/users/mleonhartsberger/repos","events_url":"https://api.github.com/users/mleonhartsberger/events{/privacy}","received_events_url":"https://api.github.com/users/mleonhartsberger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-05T11:11:48Z","updated_at":"2016-08-06T12:40:48Z","closed_at":"2016-08-05T13:34:24Z","body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\nI have a datatable showing car models. When choosing a model, I try to navigate to the version overview:\r\n`this.router.navigate(['version_overview', {modelId: model.id, modelName: model.name}]);`\r\n\r\nBut all I get is this error:\r\n_Error: Cannot match any routes: 'version_overview;modelId=1;modelName=Camaro'_\r\n\r\n**Expected/desired behavior**\r\nRouting to the VersionOverview component and passing both parameters.\r\n\r\n**Reproduction of the problem**\r\nThe one path, which should be matched:\r\n`{path: 'version_overview/:modelId/:modelName', component: VersionOverview}`\r\nI already tried different ways to pass more than 1 parameter, but nothing works.\r\n\r\n\r\nPassing only 1 parameter works like a charm, when doing it this way:\r\n`this.router.navigate(['version_overview', model.id]);`\r\n`{path: 'version_overview/:modelId', component: VersionOverview}`\r\n\r\n\r\n**Please tell us about your environment:**\r\n\r\n* **Angular version:** 2.0.0-rc.4\r\n* **Router version:** 3.0.0-beta.2\r\n \r\n* **Browser:** Chrome 51\r\n \r\n* **Language:** TypeScript 1.8.10, ES6\r\n\r\nIs this supposed to work / am I doing something wrong?\r\nThanks in advance,\r\nMartin"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/238021540","html_url":"https://github.com/angular/angular/issues/10521#issuecomment-238021540","issue_url":"https://api.github.com/repos/angular/angular/issues/10521","id":238021540,"user":{"login":"zoechi","id":405837,"avatar_url":"https://avatars.githubusercontent.com/u/405837?v=3","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T12:40:48Z","updated_at":"2016-08-06T12:40:48Z","body":"I think they are. Just the representation is matrix parameter form depending on where they are added."}}
{"actor":{"display_login":"zoechi"}}