stable

Clone or download

Read-only

feat(ttm): Handle empty files

part of: story #22576 have multiple files uploaded with comments When `POST /tracker_fields/:id/files` is called with an empty file, the payload returned does not contain any upload_href. Tus was asked to upload it anyway, leading to an error. It should work properly now. How to test: - Upload an empty file (a.k.a size === 0) --> It works Change-Id: I44e3b40b8019e82badd941366c4de649f3cf40a2

Modified Files

Name
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.js +8 −3 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/execution/execution-attachments/execution-attachments-component.test.js +43 −0 Go to diff View file