{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/13612","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/13612/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/13612/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/13612/events","html_url":"https://github.com/emberjs/ember.js/issues/13612","id":158769073,"number":13612,"title":"Unable to transition to child route with mapped query parameters","user":{"login":"eguitarz","id":875540,"avatar_url":"https://avatars.githubusercontent.com/u/875540?v=3","gravatar_id":"","url":"https://api.github.com/users/eguitarz","html_url":"https://github.com/eguitarz","followers_url":"https://api.github.com/users/eguitarz/followers","following_url":"https://api.github.com/users/eguitarz/following{/other_user}","gists_url":"https://api.github.com/users/eguitarz/gists{/gist_id}","starred_url":"https://api.github.com/users/eguitarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguitarz/subscriptions","organizations_url":"https://api.github.com/users/eguitarz/orgs","repos_url":"https://api.github.com/users/eguitarz/repos","events_url":"https://api.github.com/users/eguitarz/events{/privacy}","received_events_url":"https://api.github.com/users/eguitarz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Query%20Params","name":"Query Params","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-06T20:37:31Z","updated_at":"2016-06-27T17:36:03Z","closed_at":"2016-06-27T17:36:03Z","body":"Ember Twiddle: https://ember-twiddle.com/165676557d943e5cfa690261c6342c4d?openFiles=twiddle.json%2C\r\n\r\nI have a parent and a nested child route, child route is fed with a query parameter. It works fine if I don't alias query parameter in child controller, but it raises exception if I mapped the query parameter into other name.\r\n\r\nWhich gave me an exception\r\n>VM276 ember.debug.js:28535 Error while processing route: parent.index Assertion Failed: You're not allowed to have more than one controller property map to the same query param key, but both `parent.child:searchQuery` and `parent.child:searchQuery` map to `q`. You can fix this by mapping one of the controller properties to a different query param key via the `as` config option, e.g. `searchQuery: { as: 'other-searchQuery' }` Error: Assertion Failed: You're not allowed to have more than one controller property map to the same query param key, but both `parent.child:searchQuery` and `parent.child:searchQuery` map to `q`. You can fix this by mapping one of the controller properties to a different query param key via the `as` config option, e.g. `searchQuery: { as: 'other-searchQuery' }`\r\n\r\nI have only one controller property map to query param key."},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/228817346","html_url":"https://github.com/emberjs/ember.js/issues/13612#issuecomment-228817346","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/13612","id":228817346,"user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T17:36:03Z","updated_at":"2016-06-27T17:36:03Z","body":"Thanks @raytiley.  I'm going to close this for now, but I would love to land a new query params test to ensure we do not regress here in the future.  Feel free to ping me if you would like help on how that might look..."}}
{"actor":{"display_login":"rwjblue"}}