Parse-dashboard: While Uploading file to Amazon S3 storage Parse dashboard passes content type "text/plain" for all type of files.

Created on 30 May 2016  路  5Comments  路  Source: parse-community/parse-dashboard

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • [X] You're running version >=2.1.4 of Parse Server.
  • [X] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

Amazon AWS ElastinBenstalk runnig nodejs version 4.x.x
Parse Dashboard + Parse server + Amazon S3 File Storage

Steps to reproduce

1) Click on Upload file on Filetype column
2) Select Pdf and press ok.
3) when file is uploaded check the post request header on Developer console and also S3 storage pdf file content type is set as "text/plain"
2016-05-30_1755

Logs/Trace

Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.

Most helpful comment

I still have the problem in here when trying to upload a pdf file.

Environment Setup

Parse Dashboard: 1.0.19
Parse Server: 2.2.24
Node: 4.4.4
Parse Dashboard + Parse server + Amazon S3 File Storage

All 5 comments

@daaku Hi can anybody help me with this?

This issue should be fixed in the newest version of Parse Server (2.2.11)

@drew-gross

This issue still exists.

I have tested today by uploading pdf file and on amazon s3 metadata it shows text/plain.

Can you reopen the bug on the parse server repo and include the server logs?

I still have the problem in here when trying to upload a pdf file.

Environment Setup

Parse Dashboard: 1.0.19
Parse Server: 2.2.24
Node: 4.4.4
Parse Dashboard + Parse server + Amazon S3 File Storage

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yagotome picture yagotome  路  3Comments

codeKonami picture codeKonami  路  6Comments

badboy-tian picture badboy-tian  路  8Comments

acinader picture acinader  路  5Comments

guilhermevini picture guilhermevini  路  6Comments