Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants