error with large files in filesystem repo
|Resolution:||Cant reproduce||Affected version:|
I've got a filesystem repo that contains DVD ISO images. When I try to view the repo I get
An error occurred when trying to access the repository: bignum too big to convert into `unsigned long'
It seems like Redmine is only calculating the size of the files in Bytes, which blows up the variable here. I don't know Ruby enough to try and modify it so that it can calculate sizes in kb/mb/gb so as not to throw this error.. This is all my theory of course.
Redmine 1.4.4.stable (MySQL)
Debian 6.0.5 Squeeze
#2 Updated by Go MAEDA over 1 year ago
In my environment, the error doesn't occur but wrong size value is displayed in the repository browser. Probably because of 32-bit integer overflow.
Environment: Redmine version 3.4.6.devel.17618 Ruby version 2.3.7-p456 (2018-03-28) [x86_64-darwin16] Rails version 5.2.1 Environment development Database adapter SQLite Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp