Skip to content

<data> section with empty <values> section causes error #68

@embeepea

Description

@embeepea

A <data> section that contains an empty <values> section (no actual values) causes the error

cannot read property 'length' of undefined

What it should do is to simply create a data object that contains no values and whose getIterator() method returns an empty iterator.

This came up while dealing with the timeline widget for the global climate dashboard. It isn't urgent --- I'm working around it by simply including a bogus value in the timeline's <data> section. But it should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions