Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

MLIBZ-2575: Calculate file size #313

Merged
merged 5 commits into from
Jun 27, 2018
Merged

MLIBZ-2575: Calculate file size #313

merged 5 commits into from
Jun 27, 2018

Conversation

thomasconner
Copy link
Contributor

Description

To prevent errors the SDK should calculate the file size before it is uploaded. The file size should be then verified that we don't try and create a file with a size of 0.

Changes

  • Calculate file size on HTML5. Export HTML5 FilesStore correctly.
  • Verify file size before it is uploaded.

Tests

  • Add integration tests for related changes (TBD)

@thomasconner thomasconner self-assigned this Jun 22, 2018
@vinaygahlawat vinaygahlawat self-requested a review June 22, 2018 18:00
The file size is calculated by the SDK now. Any value passed into upload() will be overrriden.
@thomasconner thomasconner merged commit 3c13cc2 into master Jun 27, 2018
@thomasconner thomasconner deleted the MLIBZ-2575 branch June 27, 2018 12:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants