J4 Issue ?
avatar brianteeman
brianteeman
30 Jun 2019

Steps to reproduce the issue

Change the maximum image size that can be uploaded to 1mb
Try to upload an image that is bigger than 1mb

Expected result

Error message This file is too large to upload

Actual result

Error message You are not authorized

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 30 Jun 2019
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jun 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Jun 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 30 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Jun 2019
Status New Discussion
avatar pau1a
pau1a - comment - 15 Jul 2019

Could somebody advise where the unminified version of mediamanager.min.js is located please

avatar brianteeman
brianteeman - comment - 7 Aug 2019

The problem is that the private function checkContent() in administrator\components\com_media\src\Controller\ApiController.php is not generating the message and instead it is coming from _handleError(error) in administrator\components\com_media\resources\scripts\app\Api.js

avatar chmst
chmst - comment - 27 Jun 2020

Just tested on a fresh intallation, with maximun set to 1mb.

  1. Uploading a bigger image results in the error as described by @brianteeman

  2. Repating the Upload with another big image. I got "Item uploaded." but nothing was uploaded.

  3. Repeating with a very small image. I got "Item uploaded." but nothing was uploaded.

Win10, local installation in xampp


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25379.
avatar Quy Quy - change - 4 Sep 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-09-04 22:01:22
Closed_By Quy
avatar Quy
Quy - comment - 4 Sep 2020

Please test PR #30573

avatar Quy Quy - close - 4 Sep 2020

Add a Comment

Login with GitHub to post a comment