Temporal coverage chart fails in the Stats View when there is no temporal data coverage
Error in console:
Uncaught TypeError: Cannot call method 'getUTCFullYear' of null (Stats.js:314)
The Stats View should check for no temporal data coverage and load a blank chart.
#1 Updated by Lauren Walker almost 7 years ago
- Status changed from New to Resolved
This error was being caused when the index had no values for the field beginDate. The Stats Model now just uses the earliest endDate instead of the earliest beginDate when none are found. If neither are found, a blank chart is drawn.