Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-587

Attachments plugin : store the file size as a metadata

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9.6
    • 2.9.5
    • Plugins (others)
    • 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.

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: