Project

General

Profile

Actions

Bug #25155

open

Resources upload over 8 MB generate error

Added by Elaad FURREEDAN 10 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Technique editor
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I was bothered the first time
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Medium
Priority:
6
Name check:
To do
Fix check:
To do
Regression:
No

Description

If we try to upload a file over 8Mb in the file manager in technique editor, it generates an error notification without any information.
In the webapp logs we can see exception raised :

2024-07-16 08:52:32+0000 ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /secure/api/resourceExplorer/toto_hello/1.0/ncf_techniques
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (4327145850) exceeds the configured maximum (8388608)
>-at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:1007)
>-at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:334)
>-at org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(ServletFileUpload.java:152)
>-at net.liftweb.http.provider.servlet.HTTPRequestServlet$$anon$1.<init>(HTTPRequestServlet.scala:139)
>-at net.liftweb.http.provider.servlet.HTTPRequestServlet.extractFiles(HTTPRequestServlet.scala:129)
>-at net.liftweb.http.Req$.$anonfun$apply$14(Req.scala:479)
>-at net.liftweb.http.AvoidGAL.thunk$lzycompute(Req.scala:365)
>-at net.liftweb.http.AvoidGAL.thunk(Req.scala:365)
>-at net.liftweb.http.Req$.$anonfun$apply$26(Req.scala:516)
>-at net.liftweb.http.Req.x$46$lzycompute(Req.scala:983)
>-at net.liftweb.http.Req.x$46(Req.scala:979)

No data to display

Actions

Also available in: Atom PDF