User tests: Successful: Unsuccessful:
Pull Request for Issue #27494 (comment).
Requires PR #29895 for the language strings.
This Pull Request (PR) is a back port of PR #27665 from 4.0-dev.
It adds a check if the selected file is too big to be uploaded with respect to the PHP limits to the "Upload & Install Package" tab of the Extensions Installer.
If the user tries to upload a file which is too big, the upload is rejected with an appropriate browser alert message.
Requirements:
PR #29895 for the language strings.
Procedure:
administrator/index.php?option=com_installer&view=install
and there to tab "Upload Package File".If post_max_size
is big enough but upload_max_size
is violated:
If upload_max_size
is big enough but post_max_size
is violated:
There is no error shown in backend if display errors is off in PHP config.
In the PHP log file (if log_errors is switched on in PHP config):
PHP Warning: POST Content-Length of 24829262 bytes exceeds the limit of 16777216 bytes in Unknown on line 0, referer: https://www.joomla.vmkubu02.vmnet2.local/administrator/index.php?option=com_installer
Broswer alert when trying to upload too big file:
None.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End Plugins |
Title |
|
@unmk28 Please mark your test result on the issue tracker by going to https://issues.joomla.org/tracker/joomla-cms/30190, using the "Test this" button, selecting the right test result and submitting. Thanks in advance.
I have tested this item
I have followed all steps to test this path and it works fine. Thank you!
@unmk28 Again a reminder: Please mark your test result on the issue tracker by going to https://issues.joomla.org/tracker/joomla-cms/30190, using the "Test this" button, selecting the right test result and submitting. Thanks in advance.
@pabloarias Thanks for testing.
Thank you @richard67 for your work!
My test was done with Joomla 3.9.21-dev
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Thanks for testing.
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-17 11:24:42 |
Closed_By | ⇒ | HLeithner | |
Labels |
Thanks
Thanks.
tested successfully