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... :-(
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
andarticles.index:_qpMap
map to_qpMap
. You can fix this by mapping one of the controller properties to a different query param key via theas
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 ?