Skip to content

Viewing document with Infinity value throws error #206

@creynders

Description

@creynders

If you have a double float field in your schema with a value of Number.INFINITY mongohub throws an error when you try to view the json.

Example: (scale is the field we're interested in here)

Double clicking on this:
screen shot 2015-03-04 at 16 58 04

creates this:

screen shot 2015-03-04 at 16 58 18

When I change the value to anything else numerically valid the error disappears. Haven't tried it with negative infinity yet, but I assume the same occurs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions