When running the following function in bundle.js [1], on success, the data has a bunch of "contest" objects, and one of them [2] has an empty startDate. And it throws the following stacktrace [3]
TypeError: Cannot read property 'substring' of undefined
at parseDate (https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:6729:37)
at https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:6769:28
at Array.forEach (native)
at https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:6766:23
at https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:32973:11
at wrappedCallback (https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:36433:81)
at wrappedCallback (https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:36433:81)
at https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:36519:26
at Scope.$eval (https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:37562:28)
at Scope.$digest (https://d2l7b0usk48cxd.cloudfront.net/arena/prod/web-v2014.10.27.7/js/bundle.js:37374:31)bundle.js:34932 (anonymous function)
When running the following function in bundle.js [1], on success, the data has a bunch of "contest" objects, and one of them [2] has an empty startDate. And it throws the following stacktrace [3]
[1]
[2]
[3]