View Issue Details

IDProjectCategoryView StatusLast Update
0008988Talermerchant backoffice SPApublic2024-08-14 15:38
Reporteravalos Assigned Toavalos  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status feedbackResolutionopen 
Target Versionpost-1.0 
Summary0008988: Better handling of large images in product creation
DescriptionAt one point I tried to create a product with a large image, but with that specific image it gave me an error, and it didn't tell me that it had exceeded the space limit, it simply didn't save the product, this was the error:

{
  "code": 26,
  "hint": "A parameter in the request was malformed. This is likely a bug in the client implementation. Check if you are using the latest available version and/or file a report with the developers.",
  "detail": "image"
}

In this case, I placed an image with a file size smaller than the 1MB limit imposed by the SPA, at around 700kB, however, when I added the image, the SPA didn't let me save the product, throwing this response in the console:

<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
TagsNo tags attached.
Attached Files
pepperonierror.png (324,820 bytes)

Activities

nullptrderef

2024-08-14 15:36

developer   ~0022978

Last edited: 2024-08-14 15:37

appears to work on SPA built directly from master, with the backend api set to backend.test.taler.net

nullptrderef

2024-08-14 15:38

developer   ~0022979

Last edited: 2024-08-14 15:38

is this reproducible on master on your end? could you provide images to test with?

Issue History

Date Modified Username Field Change
2024-06-27 00:40 avalos New Issue
2024-06-27 00:40 avalos Status new => assigned
2024-06-27 00:40 avalos Assigned To => sebasjm
2024-06-27 00:40 avalos File Added: pepperonierror.png
2024-07-28 21:49 Christian Grothoff Severity minor => feature
2024-07-28 22:09 Christian Grothoff Target Version => post-1.0
2024-08-12 10:10 Christian Grothoff Assigned To sebasjm => nullptrderef
2024-08-14 15:27 nullptrderef Assigned To nullptrderef => Christian Grothoff
2024-08-14 15:30 nullptrderef Assigned To Christian Grothoff => nullptrderef
2024-08-14 15:36 nullptrderef Note Added: 0022978
2024-08-14 15:37 nullptrderef Note Edited: 0022978
2024-08-14 15:38 nullptrderef Assigned To nullptrderef => avalos
2024-08-14 15:38 nullptrderef Status assigned => feedback
2024-08-14 15:38 nullptrderef Note Added: 0022979
2024-08-14 15:38 nullptrderef Note Edited: 0022979