You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour
When storing file larger than 2^31-1 into the Storage_Service the acutal ize of the AIP or DIP should be stored.
Current behaviour
Currently when an AIP or DIP is stored that is larger than 2^31-1 the size is 2^31-1 and not the real size of the file.
Steps to reproduce
Store into the Storage_Service a file larger than 2^31-1 bytes. Note that the problem occurs only with MySQL as DB for the Storage_Service.
The correction is to change that datatype of locations_package.size to django.db.models.fields.BigIntegerField
Your environment (version of Archivematica, OS version, etc)
Archivematica v 1.7, Storage Service v 0.11 and MySQL for the Storage Service
The text was updated successfully, but these errors were encountered:
vdecorges
changed the title
Storage_service: locations_package.size is not big enough, should be BigIntegerField
Problem: storage_service locations_package.size is not big enough, should be BigIntegerField
Aug 29, 2018
Expected behaviour
When storing file larger than 2^31-1 into the Storage_Service the acutal ize of the AIP or DIP should be stored.
Current behaviour
Currently when an AIP or DIP is stored that is larger than 2^31-1 the size is 2^31-1 and not the real size of the file.
Steps to reproduce
Store into the Storage_Service a file larger than 2^31-1 bytes. Note that the problem occurs only with MySQL as DB for the Storage_Service.
The correction is to change that datatype of locations_package.size to django.db.models.fields.BigIntegerField
Your environment (version of Archivematica, OS version, etc)
Archivematica v 1.7, Storage Service v 0.11 and MySQL for the Storage Service
The text was updated successfully, but these errors were encountered: