Viewing document with `Infinity` value throws error
creynders opened this issue · 9 comments
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)
creates this:
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.
This is with Mongohub 3.0.7 BTW
Should be fixed in 3.1b4
Cool, that's fast! 🍻
You are welcome! You can close the issue if it works for you.
Need to compile from source I assume? Or is there a beta binary download?
You can get the beta from the Mongohub preferences.
Should be fixed in 3.1. I let you verify this issue and close it.
Hi there, yeah, clicking "Check for updates" did/does nothing, with a ticked or unticked "Download beta versions" changing nothing. I'll D/L the latest version manually and verify this Infinity issue.
Ok, 3.1.3 does work with Infinity
now. (Update troubles have disappeared too)