RetroShare / RSNewWebUI

30 stars 20 forks source link

Bug: FIleSize> 2gb throws exception #47

Closed Kumaravinash9 closed 3 years ago

Kumaravinash9 commented 3 years ago

Issue is coming when we try to parse the file size having int64 size using IntParse. We can use the BigNumber when file size is of 64 bit size. Here is the solution of this Bug : http://jsfromhell.com/classes/bignumber

Kumaravinash9 commented 3 years ago

@csoler @rottencandy.

rottencandy commented 3 years ago

Fixed in #48 Thanks @Kumaravinash9 !

rottencandy commented 3 years ago

Reopening since #48 did not fix it, the filesize still shows incorrectly.

Kumaravinash9 commented 3 years ago

Reopening since #48 did not fix it, the filesize still shows incorrectly.

But I replaced the int64 with xstr64.

rottencandy commented 3 years ago

It still seems to report the size incorrectly, not sure why. I tried to manually serialize the data: https://github.com/RetroShare/RSNewWebUI/pull/49