No Code Attached Yet bug
avatar 35grain
35grain
21 Oct 2024

Steps to reproduce the issue

Attempt to upload a large file (approx. 1 GB or more) via Media Manager.

Expected result

A POST request is made and the file is successfully uploaded.

Actual result

The JavaScript FileReader API seems to fail resulting in no POST request being sent.

Related code: https://github.com/joomla/joomla-cms/blob/3804cb3b69dbd3696ff86819cc8d24386396a6b3/administrator/components/com_media/resources/scripts/components/upload/upload.vue#L44C5-L68C10

System information (as much as possible)

Joomla 4.4.9 (but as far as I understand, affects both 4 and 5). Firefox 131.0.3. The rest is irrelevant and related system configurations have been verified to work with alternative uploaders.

Additional comments

For those seeking for a working alternative for uploading large files for the time being, I suggest looking at JCE Editor Pro (File Browser) or similar.

avatar 35grain 35grain - open - 21 Oct 2024
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Oct 2024
avatar 35grain 35grain - change - 21 Oct 2024
The description was changed
avatar 35grain 35grain - edited - 21 Oct 2024
avatar 35grain 35grain - change - 21 Oct 2024
The description was changed
avatar 35grain 35grain - edited - 21 Oct 2024
avatar 35grain 35grain - change - 21 Oct 2024
The description was changed
avatar 35grain 35grain - edited - 21 Oct 2024
avatar Fedik
Fedik - comment - 21 Oct 2024

It probably will not work. Or you have to wait for some time.
The Media Manager encode the file to base64, and for 1Gb it can take a while.

I think it is designed for relatively small files, and cannot handle really huge uploads. Which is sad.

avatar Fedik Fedik - change - 21 Oct 2024
Labels Added: bug
avatar Fedik Fedik - labeled - 21 Oct 2024
avatar dgrammatiko
dgrammatiko - comment - 21 Oct 2024

It shouldn’t be a hard thing to implement transform streams for the conversion to base64: https://caniuse.com/mdn-api_transformstream

Add a Comment

Login with GitHub to post a comment