Closed fenekku closed 2 years ago
https://github.com/inveniosoftware/invenio-records-resources/blob/master/invenio_records_resources/services/files/schema.py#L35 The schema sets it as Number
, should be Integer
.
Worth adding a test checking it? (e.g. dump and str(size_field_test)
and regex that has no .0
)??
Package version (if known): november release
After committing file upload, I get:
where size has a decimal point. That shouldn't be the case.