There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5403746e-116c-4606-8bdc-20010132e943 XWIKI-8136 Open

Re-submitting Upload requests isn't supported yet

 
View issue   ·   Add comment
 

1 update

 
cid:jira-generated-image-avatar-6ab30a62-8148-424a-887c-b5c71539b9bc Changes by Manuel Leduc on 02/Jul/26 15:07
 
Description: When saving a request is saved for future use later replay ({{{}SavedRequestManager{}}}) — e.g. on CSRF token expiry (resubmit confirmation) or login detour — only simple form fields the request parameters, method and headers are actually stored. Multipart file content is not saved, since files are treated differently so replaying an upload request silently loses the attached file(s) .

Another problem is that Additionally, the restored request ({{{}SavedRequestWrapper{}}}) has no multipart body, so {{FileUploadUtils.getFileItems()}} finds no file items, meaning the Upload action depends cannot work on a restored request at all.

Either
the FileUploadPlugin, which isn't triggered unless the saved request is a subclass of MultipartRequestWrapper should also persist the uploaded parts , and or the user should at least be informed that doesn't happen for a restored request the file must be re-selected instead of failing silently .