Friday, 22 January 2016

anError: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys.


Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: activity in data | orderBy: '-xx' | filter:{id:selectedId}:matchId, Duplicate key: object:802, Duplicate value: {"__v":0,"data":"50","data_1":"963059712","data_2":"1894551552",..........}
http://errors.angularjs.org/1.4.7/ngRepeat/dupes?p0=activity%20in%20data%20…ity%2FemptyIcon.png%22%2C%22date_string%22%3A%222016.01.22%2013%3A39%22%7D
    at angular.js:68
    at ngRepeatAction (angular.js:27409)
    at Object.$watchCollectionAction [as fn] (angular.js:15693)
    at Scope.$digest (angular.js:15826)
    at Scope.$apply (angular.js:16097)
    at angular.js:17864
    at completeOutstandingRequest (angular.js:5507)
    at angular.js:5784(anonymous function) @ angular.js:12477(anonymous function) @ angular.js:9246Scope.$digest @ angular.js:15844Scope.$apply @ angular.js:16097(anonymous function) @ angular.js:17864completeOutstandingRequest @ angular.js:5507(anonymous function) @ angular.js:5784
3.2.device.activity.list.controller.js:154 Object {__v: 0, data: "2089149", deviceId: "07b221db", deviceModel: "Nexus 7", name: "CPU"…}



This issue is caused by your page is still opening but the backend is restarted. and stock.io keep pushing, and new objects get different ids.

No comments:

Post a comment