Cannot Change Overall Max file size: Control Panel GUI is not taking precedence over Portal-ext environment

Description

Go to Control Panel> Server Admin> File Uploads> change Overall Max File Size to 123456789 and change Maximum Image File size to 123456789
Upload a file which is larger than 123456789.
Tomcat will throw this exception no matter than you change that property to.

07:55:18,620 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
07:57:16,907 ERROR [UploadServletRequestImpl:101] org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (546652384) exceeds the configured maximum (104857600)
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (546652384) exceeds the configured maximum (104857600)
at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:937)
at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)

The error should read exceeds the configured maximum ( 123456789) not (104857600- reflected in portal-ext)

Environment

Tomcat + mysql, trunk revision 64969

Attachments

1

Activity

Show:

Lawrence Lee November 24, 2010 at 3:44 PM

Fixed on trunk revision 67175.

Lawrence Lee November 10, 2010 at 8:17 PM

I just tested this in 6.0.5 GA and i could not reproduce this issue. This expected result should look like this when trying to upload an image larger than the allowed size.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.0.x
5.2.x

Backported to Branch

Committed

Bug Type

Regression Bug

Components

Priority

Zendesk Support

Created October 27, 2010 at 1:45 AM
Updated June 24, 2023 at 9:38 AM
Resolved November 24, 2010 at 3:45 PM