0
Fixed

Cards not loading - JS error in console

Adam B 12 ár síðan Uppfært 12 ár síðan 4
Many times (especially moving backwards to last week), the calendar events load in quickly, but the cards do not (no cards at all). I am guessing that it is worse moving backwards because there are more cards, but it seems to be getting worse this week as well. Refreshing will sometimes bring everything back.

  1. TypeError: Cannot read property 'id' of null at http://dirtypop.w2.wadev.com/Public/js/app-filters.js:19:33 at Function.x.extend.grep (http://dirtypop.w2.wadev.com/Public/assets/jquery/jquery-2.0.3.min.js:4:5120) at Object.cardFilters.user (http://dirtypop.w2.wadev.com/Public/js/app-filters.js:18:22) at http://dirtypop.w2.wadev.com/Public/js/app-filters.js:35:42 at updateCards (http://dirtypop.w2.wadev.com/Public/js/directives/WeekView.js:211:55) at http://dirtypop.w2.wadev.com/Public/js/directives/WeekView.js:256:17 at h.$broadcast (https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.13/angular.min.js:115:367) at http://dirtypop.w2.wadev.com/Public/js/services/CardService.js:11:24 at later (http://dirtypop.w2.wadev.com/Public/js/app.js:45:35) at https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.13/angular.min.js:123:531
Under review
This seems to only happen when making many requests to the server simultaneously. I have already fixed a different bug caused by something similar in my dev branch - and I cannot reproduce this issue locally. It might already be fixed because of this other change. We'll monitor this after the next deployment to see if this is the case.
Thanks!  Will check in after the push and see if that fixes it.
Fixed
This seems to have been fixed in the last update.
Looks great now. Cards and calendar items are loading very reliably these days over my higher latency link.