-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 5.4.3, 5.4.4
-
Component/s: Issue View
-
13
-
Severity 3 - Minor
-
9
Issue Summary
User is trying to upload attachment using these REST API's
"servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile"
and
"servicedeskapi/request/{issueIdOrKey}/attachment"
It gives this error
{"errorMessage":"An error occurred while processing the attachment. Could not save attachment to storage: Source file does not exist /srv/jirahome/caches/tmp_attachments/temp7498082413386598394","i18nErrorMessage":{"i18nKey":"sd.attachment.create.error","parameters":["Could not save attachment to storage: Source file does not exist /srv/jirahome/caches/tmp_attachments/temp7498082413386598394"]}}
When user is checking the logs, the uploads are uploaded in Node 2 instead of Node 1
Users use the following REST APIs with authentication as a work around Cookie based authentication
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Use "servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile" or "servicedeskapi/request/{issueIdOrKey}/attachment" to upload attachment.
- Recieves error:
{"errorMessage":"An error occurred while processing the attachment. Could not save attachment to storage: Source file does not exist /srv/jirahome/caches/tmp_attachments/temp7498082413386598394","i18nErrorMessage":
Unknown macro: {"i18nKey"}}
Expected Results
No error and the attachment should be uploaded to the selected Node.
Actual Results
Error shows and attachment is uploaded to the wrong node.
...
Workaround
Users use the following REST APIs with authentication as a work around Cookie based authentication
- depends on
-
JRASERVER-78200 Extend TemporaryWebAttachmentManager to store temporary attachments on a shared home folder
- Gathering Interest
- is duplicated by
-
JSDSERVER-12105 attachTemporaryFile JSM REST Api Should Store Temp Files on Shared Home Folder
- Gathering Interest
- links to
- mentioned in
-
Page Loading...