Skip to content

Remove numberOfRejectedFiles "must be 0" validation now multiple files can be uploaded at once#356

Merged
mokhld merged 1 commit intomainfrom
fix/DF-868-support-multiple-files
Apr 1, 2026
Merged

Remove numberOfRejectedFiles "must be 0" validation now multiple files can be uploaded at once#356
mokhld merged 1 commit intomainfrom
fix/DF-868-support-multiple-files

Conversation

@davidjamesstone
Copy link
Copy Markdown
Contributor

Proposed change

Remove the validation that states numberOfRejectedFiles must be zero.
Now that several files can be sent from CDP, this is no longer guaranteed to be zero.

Currently if two files are uploaded but one fails (e.g. a virus) then numberOfRejectedFiles is 1

Jira ticket: https://eaflood.atlassian.net/browse/DF-868

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@mokhld mokhld marked this pull request as ready for review April 1, 2026 13:52
@mokhld mokhld merged commit 2dd88ac into main Apr 1, 2026
26 checks passed
@mokhld mokhld deleted the fix/DF-868-support-multiple-files branch April 1, 2026 16:13
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