UploadResult is parsing the wrong value for filesize (field 'bytes')

Open
#112 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
dart
Domain
api

Research direction

Start with Pubspec.yaml to identify the SDK version, then locate the UploadResult entry point and inspect how the bytes field is parsed. Reproduce the upload response described in the issue and verify that UploadResult reports the response's filesize value; the missing device, version, and reproduction details must be filled in before completion can be confirmed.

Written by the indexing model from the issue text.

Description

Bug report for Cloudinary Dart SDK

Before proceeding, please update to latest version and test if the issue persists

Describe the bug in a sentence or two.

UploadResult is parsing the wrong value for filesize (field 'bytes')

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[x] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)

Steps to reproduce

… if applicable

Error screenshots or Stack Trace (if applicable)

…

Build/Dependency management

[x] Pubspec.yaml
[ ] Other (Specify)

Is the issue reproducible only on a specific device?

[ ] No
[x] Yes (specify device model + iOS/Android version)

Versions and Libraries (fill in the version numbers)

Dart Cloudinary SDK version - 0.0.0
OS (on the dev environment) - 0.0.0
IDE/Android Studio - 0.0.0

Repository
If possible, please provide a link to a reproducible repository that showcases the problem

Dominant language
Dart
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/cloudinary_dart

All issues in cloudinary/cloudinary_dart

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.