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

fix (Storage/FileUploader): FileUploader does not upload processed file contents in certain scenarios #6200

Closed
wants to merge 6 commits into from

Conversation

dindjarinjs
Copy link
Contributor

Description of changes

Opening this to run e2e tests for #6050

This change fix an issue in which FileUploader does not upload the processed/modified file contents as advertised in documentation.

In current implementation, the original input file is returned as-is when hasKeyInput is false. However, the processed file contents should be returned instead regardless of the condition of hasKeyInput.

This code change fixes that and returns processed/modified file contents instead of the original.

Issue #, if available

#6049

Description of how you validated changes

Checklist

  • Have read the Pull Request Guidelines
  • PR description included
  • yarn test passes and tests are updated/added
  • PR title and commit messages follow conventional commit syntax
  • If this change should result in a version bump, changeset added (This can be done after creating the PR.) This does not apply to changes made to docs, e2e, examples, or other private packages.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dindjarinjs dindjarinjs requested a review from a team as a code owner November 22, 2024 20:34
Copy link

changeset-bot bot commented Nov 22, 2024

🦋 Changeset detected

Latest commit: 558a23e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@aws-amplify/ui-react-storage Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@calebpollman calebpollman added run-tests Adding this label will trigger tests to run and removed run-tests Adding this label will trigger tests to run labels Nov 22, 2024
@github-actions github-actions bot removed the run-tests Adding this label will trigger tests to run label Nov 22, 2024
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.

3 participants