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: preserve maxFiles set after MultiFileReceiver in same roundtrip #6623

Merged
merged 6 commits into from
Sep 10, 2024

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Sep 9, 2024

Description

The PR fixes the regression where maxFiles could be reset to Infinity when it was set after MultiFileReceiver in the same round-trip or when switching between different MultiFileReceivers. This regression was introduced in #6253.

Fixes #6622

Type of change

  • Bugfix

@vursen vursen changed the title fix: do not reset setMaxFiles coming after setReceiver fix: preserve maxFiles set after a MultiFileReceiver in same roundtrip Sep 9, 2024
@vursen vursen changed the title fix: preserve maxFiles set after a MultiFileReceiver in same roundtrip fix: preserve maxFiles set after MultiFileReceiver in same roundtrip Sep 9, 2024
@vursen vursen marked this pull request as ready for review September 10, 2024 06:48
@vursen vursen removed the request for review from web-padawan September 10, 2024 06:49
@vursen vursen marked this pull request as draft September 10, 2024 06:49
@vursen vursen marked this pull request as ready for review September 10, 2024 10:50
Copy link

sonarcloud bot commented Sep 10, 2024

@vursen vursen enabled auto-merge (squash) September 10, 2024 11:08
@vursen vursen merged commit bebe848 into main Sep 10, 2024
5 checks passed
@vursen vursen deleted the fix-upload-set-max-files-regression branch September 10, 2024 11:10
web-padawan pushed a commit that referenced this pull request Sep 10, 2024
…6623) (#6631)

Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
vursen added a commit that referenced this pull request Sep 10, 2024
…6623) (#6630)

Co-authored-by: Sergey Vinogradov <mr.vursen@gmail.com>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha16 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload's setMaxFiles doesn't work.
3 participants