Project

General

Profile

Actions

Bug #6585

closed

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

Added by Lauren Walker over 9 years ago. Updated over 9 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.

Actions #1

Updated by Lauren Walker over 9 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.

Actions

Also available in: Atom PDF