43
Views
1
Comments
[Reactive Multiple File Upload] Reactive multiple file upload  - error on multiple upload with larger files
multiple-file-upload-reactive
Reactive icon
Forge asset by José Pedro Proença
Application Type
Reactive

Hi, i m facing a strange issue, with multiple upload form.

When i try to upload 3-4 files, each of them <1mb and one >10mb, i end up having in the ui only the small files attached and the large(r) file missing. I noticed in the console the following error.

Invalid call of the 'TriggerFileUploadError' client action of the 'module.name' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action. 

ControllerDisposedException: Invalid call of the 'TriggerFileUploadError' client action of the '' since the latter is not currently active. This is likely due to a platform's client action being used as an event handler or in a setTimeout function. Consider removing this call by using the 'On Destroy' event of the screen/block or moving your logic to a global client action.

If i try to upload the large file by itself, it uploads as expected, when combined with smaller files, this behavior occurs.

Any help/info provided would be much appreciated.


2023-12-16 19-57-03
Sanjay Kushwah

Hi @nikolasr200,

The error message indicates that a client action named TriggerFileUploadError is being called on a module that's no longer active. This typically occurs due to timing issues or incorrect event handling. 

Larger files might take longer to process, potentially leading to timeouts or unexpected module disposal.

Explore techniques to optimize file upload performance, such as using compression or background uploads, this might be fix the issue. 

Kind regards,

Sanjay Kushwah

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.