-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Describe the bug
When a sip that has spaces in the name fails validation, downloading the Failed SIP fails with "Failed SIP/PIP file not found in the internal storage"
To Reproduce
- Run an invalid sip with spaces in the name
Expected behavior
After a verification failure, the Failed SIP can be downloaded
Screenshots
Additional context
Temporal log shows that bucket-copy activity fails with:
bucketcopy: copy blob: blob (key \"SIP_SIP_20250605_Vecteur_7928 -362eaf86-62ce-4e74-86c4-cb54c296cc98.zip -> Failed_SIP_SIP_20250605_Vecteur_7928 -362eaf86-62ce-4e74-86c4-cb54c296cc98.zip\") (code=NotFound): operation error S3: CopyObject, https response error StatusCode: 404, RequestID: 184BF5264CB2DC68, HostID: 602af0b60757be79cc5f5f3491c39d3e732002764d974afe2b682088cb17bfab, api error NoSuchKey: The specified key does not exist.,
and after that, removepaths also tries to remove the parent folder and fails with with couldn't remove path: unlinkat /var/lib/enduro/preprocessing: permission denied
Metadata
Metadata
Assignees
Labels
Type
Projects
Status