-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG - Meta Tags on PUT Command do not work #89
Comments
@pl4yradam |
Has the bug been raised there yet then linking here?
…On Fri, 7 Feb 2020, 22:08 Masahiro Wada, ***@***.***> wrote:
@pl4yradam <https://github.com/pl4yradam>
Thanks for your report. I'm so sorry for inconvenience.
It seems that this issue is caused by the restriction of s3rver which is a
backend of serverless-s3-local. So this feature is not supported for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#89?email_source=notifications&email_token=AFL4VWWQGABPGEX42WOMT6DRBXLVFA5CNFSM4KRNI3DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEZSFA#issuecomment-583637268>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFL4VWUCCTAGXH2YASWQL63RBXLVFANCNFSM4KRNI3DA>
.
|
Hey @ar90n it looks like they got back on jamhall/s3rver#591, is there any update for this fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When creating a PUT command followed by generating a pre signed request, you are given a correct url containing meta information through the x-amz-meta headers, when you then PUT to this url, the file will be stored (in your tmp bucket) however on reviewing the meta file, the data is not contained in there.
Steps to reproduce
`
/** @var CommandInterface $cmd */
$cmd = $this->s3ClientService->client->getCommand('PutObject', [
'Bucket' => env('S3_BUCKET'),
'Key' => 'imports/' . $filename,
'Metadata' => [
'import_id' => $import->id,
],
]);
This generates the correct presigned url, when you PUT the file to that url, check your /tmp/bucket/keylocation folder look at the meta tag file and the import id will not be there.
NOTE: Locally this does not work
On a DEV environment using actual AWS, this does work.
The text was updated successfully, but these errors were encountered: