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

Upload Docs | maxFiles number is hardcoded causing multiple issues while uploading docs. #233

Closed
shubhamv-ss opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shubhamv-ss
Copy link
Contributor

Current Behavior

  1. Exceeding maxFiles limit: Users can upload multiple files even if maxFiles is set to 3.
  2. No error on exceeding limit: Attempting to upload a 4th file when maxFiles is 3 fails without displaying an error.
  3. Page refresh bypass: Refreshing the page resets the maxFiles limit, allowing users to upload more than 3 files.
  4. Delete all uploaded files: Users can delete all uploaded files, even if the total number exceeds the maxFiles limit.

Expected Behavior

  1. Disable Upload Feature on Limit: When the maxFiles limit is reached, disable the upload feature to prevent users from uploading more files.
  2. Dynamic maxFiles Count: Make the maxFiles count dynamic based on the number of already uploaded documents.
  3. Display error message: You can only upload up to 3 files.

Steps To Reproduce

  1. Login to Portal as CX-Operator
  2. Navigate to CX -Operator--> Invite Business Partner → Invite--> Enter all the data
  3. Hit Invite button
  4. Login as an invited post receiving email
  5. Start the registration process
  6. Add Company data and Continue
  7. “Select Company Role” and conitnue
  8. Upload 3 documents (pdfs)
  9. Try to upload fourth one, user won't see any error msg neither document is uploading.
  10. Delete all 3 docs and Upload document(s) again, it won't allow you as maxFiles size is 3.
  11. But if you refresh the page, and go to upload docs again, you can upload 3 more documents(total 6)
@shubhamv-ss shubhamv-ss added the bug Something isn't working label Jul 29, 2024
@evegufy evegufy added this to the Release 24.12 milestone Oct 23, 2024
@evegufy evegufy closed this as completed Oct 23, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Oct 23, 2024
@github-project-automation github-project-automation bot moved this from NEW USER REQUEST to USER READY in Portal Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants