abuiles / ember-101

https://leanpub.com/ember-cli-101
95 stars 23 forks source link

Adding loans as a nested resource inside friends show triggers an error #90

Closed joepstender closed 6 years ago

joepstender commented 8 years ago

On page 60 (2016-06-28 version) we are adding the Nested Loans Index. When adding loans as a nested resource inside friends show this triggers an error:

ember.debug.js:15683 Uncaught Error: Assertion Failed: You're not allowed to have more than one controller property map to the same query param key, but both articles:_qpMap and articles.index:_qpMap map to _qpMap. You can fix this by mapping one of the controller properties to a different query param key via the as config option, e.g. _qpMap: { as: 'other-_qpMap' }

It keeps me from working through the rest of the book... :-(

The error might be related to https://github.com/emberjs/ember.js/pull/13273 ?

abuiles commented 8 years ago

@jsArgus can you push your repo and I'll check it out.

joepstender commented 8 years ago

https://github.com/jsArgus/borrowers

jerix21 commented 8 years ago

up..

joepstender commented 6 years ago

No activity, cleaning up.