-
Improvement
-
Resolution: Fixed
-
Minor
-
2.9.5
-
None
When using the attachments plugin, the only way to get the attached file size is to get the binary file (as a BinaryMetadata object), get the corresponding stream, and consume all the stream while incrementing a counter.
It would be more efficient to have the size stored as a metadata when the file is uploaded.