View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009729 | Taler | exchange KYC SPA | public | 2025-04-15 14:14 | 2025-04-24 00:29 |
Reporter | Christian Grothoff | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | post-1.0 | ||||
Summary | 0009729: maximum upload size is 16 MB | ||||
Description | Especially with attachments, we can go above this. In this case *Nginx* already returns the 413, the request doesn't even make it to the exchange and so the body will be in HTML and not JSON. Nevertheless, the SPA should handle this case gracefully. Additionally, *if* the upload size _would_ exceed 16 MB (which I believe you can easily calculate), the SPA should 1) not even attempt the upload, 2) show the user an error explaining that the upload would be too big, and 3) suggest to the user to optimize the files to make them smaller *or* contact the operator. Texts: "Your upload would likely exceed the server's limit." (bold, title) "Please try to optimize the size of the files you are uploading, or contact the operator for help." Note: the limit applies to the *compressed* JSON (deflate encoding), not the plaintext JSON. Next note: This *also* applies to the AML SPA! | ||||
Tags | ux | ||||
|
this is kind of simple in the kyc spa, but more complex in the AML spa where we have a wizard. The wizard saves the information in the localStorage where we have limited capacity (kind of 5mb) so we need to use another API or... prevent saving files in localStorage (which means that you loose the information if the page reloads) |
|
I'm confused. I didn't say you *had* to support 16MB. I guess 5 MB files could be enough for the AML SPA -- here *we* can always break up/compress/compact the file if needed. My point was to gracefully handle the "upload too large" case, and ideally prevent it early. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-15 14:14 | Christian Grothoff | New Issue | |
2025-04-15 14:14 | Christian Grothoff | Status | new => assigned |
2025-04-15 14:14 | Christian Grothoff | Assigned To | => sebasjm |
2025-04-15 22:49 | sebasjm | Note Added: 0024567 | |
2025-04-15 23:24 | Christian Grothoff | Note Added: 0024569 | |
2025-04-17 21:14 | Christian Grothoff | Tag Attached: ux | |
2025-04-17 21:15 | Christian Grothoff | Target Version | 1.0 stretch goals => post-1.0 |
2025-04-24 00:29 | Christian Grothoff | Assigned To | sebasjm => |
2025-04-24 00:29 | Christian Grothoff | Status | assigned => confirmed |