Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing document with Infinity value throws error #206

Closed
creynders opened this issue Mar 4, 2015 · 9 comments
Closed

Viewing document with Infinity value throws error #206

creynders opened this issue Mar 4, 2015 · 9 comments

Comments

@creynders
Copy link

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.

@creynders
Copy link
Author

This is with Mongohub 3.0.7 BTW

@jeromelebel
Copy link
Owner

Should be fixed in 3.1b4

@creynders
Copy link
Author

Cool, that's fast! 🍻

@jeromelebel
Copy link
Owner

You are welcome! You can close the issue if it works for you.

@creynders
Copy link
Author

Need to compile from source I assume? Or is there a beta binary download?

@jeromelebel
Copy link
Owner

You can get the beta from the Mongohub preferences.

@jeromelebel
Copy link
Owner

Should be fixed in 3.1. I let you verify this issue and close it.

@creynders
Copy link
Author

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.

@creynders
Copy link
Author

Ok, 3.1.3 does work with Infinity now. (Update troubles have disappeared too)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants