- Issue created by @sidgrafix
- ๐ณ๐ฟNew Zealand quietone
Drupal 10 is in maintenance mode.
If this problem was discovered on a version of Drupal that is not 11.x, add that information in the issue summary and leave the version at 11.x. In Drupal core changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies โ . Also mentioned on the version โ section of the list of issue fields documentation.
- ๐ฎ๐ณIndia jeeva r
jeeva r โ made their first commit to this issueโs fork.
- Merge request !12307File upload progress display fails for Claro theme โ (Open) created by Unnamed author
- ๐ฎ๐ณIndia libbna New Delhi, India
I tried patch #5, but Iโm still experiencing the issue.
Steps I followed to reproduce the issue:
- Changed the theme to Claro
- Added an upload filed to the content type and in manage form display changed the progress indicator to bar
- added a pdf file of 75mb while creating a content
I've attached a video recording as proof.
Let me know if I have missed any step. Thanks.
- ๐ฎ๐ณIndia jeeva r
@libnna, this is worked for me, please refer the screenshot, that i had attached, if your server or system has enabled the "uploadprogress" php extension, then it will render
- ๐ฎ๐ณIndia libbna New Delhi, India
Hi @jeeva r, yes, "uploadprogress" is enabled and I also checked in the browser inspector โ the code is working. However, I was looking at the UI, and the progress bar does not get completed. Please refer to the video Iโve attached for reference. That's why I thought the code is not working.
- ๐บ๐ธUnited States sidgrafix
@libbna.. Hello, the video you provided looks as tho when you upload - the file just about instantly completes uploads (assuming at 75mb, your on a local dev stack and your selecting a file on the hard drive your stack is running on) if that is the case there isn't enough time for upload progress to actually display anything assuming uploadprogress is active on the websites host (APC or PECL)! By default as soon as the upload completes the progress bar and percentage value get removed. Try increasing the max upload size to like 1 or 2 GB and upload a huge file, or connect to the ddev site from another local network device - tablet or phone if you can and test upload that way.
- ๐ฎ๐ณIndia libbna New Delhi, India
Hi @sidgrafix Thank you for the clear explanation! That actually clarifies a lot โ I'll definitely try uploading a larger file (1โ2 GB as you suggested) or test from another device on the local network to see the behavior more clearly. Really appreciate you taking the time to share this insight โ very helpful!
- ๐ฎ๐ณIndia jeeva r
@libbna.. the default upload size was 100MB, even if you try to upload more size than 100MB, then it will cause Drupal Ajax Error., Need to check this also... thank u