Project

General

Profile

Bug #6585

Temporal coverage chart fails in the Stats View when there is no temporal data coverage

Added by Lauren Walker almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
08/13/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

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.

History

#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.

Also available in: Atom PDF