-
Notifications
You must be signed in to change notification settings - Fork 117
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
Web UI cannot handle numbers larger than Number.MAX_SAFE_INTEGER
in JSON files
#857
Labels
Comments
It seems like References: |
Let me check BigInt problem in the new webapp and fix the issue there if the new webapp can't handle big nubmers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I try to create a JSON file, where a field has the value
9223372036854775807
(Long.MAX_VALUE
), the UI displays it as9223372036854776000
.Editing the file to replace this value with the original number displays the error
You did not change anything
when trying to save it. If I try to update the value withLong.MAX_VALUE - 1
, the value is updated correctly (verified by looking at the API response), but the UI still displays9223372036854776000
.It seems like this is caused by the value using JavaScript's
Number
instead ofBigInt
. I'm not sure this is a problem with the Central Dogma UI or some library it's using.You can reproduce it by creating a file with the following contents:
YAML files are unaffected:
The text was updated successfully, but these errors were encountered: