Support for s3 without tagging (e.g., s3 api on top of swift) #10022
Labels
Feature: File Upload & Handling
Type: Feature
a feature request
User Role: Sysadmin
Installs, upgrades, and configures the system, connects via ssh
Milestone
What steps does it take to reproduce the issue?
When using an s3 implementation that does not support tagging, e.g., s3 api of the openstack swift, you cannot use the upload-redirect feature. The uploads are prevented with "501: Not implemented" error.
When does this issue occur?
An error is thrown when uploading a file with upload-redirect feature turned on. This happens only on a Dataverse instance using an s3 implementation that does not support tagging. I have tested it with s3 on top of the openstack swift.
Which page(s) does it occurs on?
File upload
What happens?
"501: Not implemented" error.
To whom does it occur (all users, curators, superusers)?
All users
What did you expect to happen?
I expect the upload to succeed.
Which version of Dataverse are you using?
Latest.
Any related open or closed issues to this bug report?
#9130
Since the solution to this problem is removing the tag header (I am working on a pull request for this issue that would add an option to disable tagging for uploads), a cleanup mechanism is needed to removed partially uploaded files, etc., since the
temp
tag would not be there anymore. That mechanism is already implemented in #9132 as a solution to the linked issue.Screenshots:
The text was updated successfully, but these errors were encountered: