Skip to content

Upload file size limitations do not seem to work #18

@birdli66

Description

@birdli66

When configuring the 'max file size' quota parameter (for personal and shared spaces) in linshare-core 2.2.0. The limitation is shown on all domains (top and sub-domains) but it's still possible to upload files bigger than the configured size.

Configuration applied (to test the limitation functionality):

  • Total storage: 1TB (less gives a linshare-ui-admin gui error because MB unit is reset to TB on sub-domain config)
  • Space limitation 10MB (gives a gui error about invalid config, but update on REST works and server enforced the limit, see below)
  • File limitation: 5MB

Result:

  • It's possible to upload a 8MB file
  • It's not possible to upload a 15MB file (ERROR: There is no more space available on the server, please retry later (46012) )

Expectation:

  • Disk space on server is protected on application level => OK
  • File size limitation (from server) is enforced on upload => NOK
  • File size limitation (on client i.e. linshare_ui-user) is checked before uploading => NOK

Minor thing but the very sophisticated quota module on the linshare_ui-admin component raises higher expectations ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions