parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.39k forks source link

Upload of default File fails #1809

Closed gSilas closed 2 years ago

gSilas commented 2 years ago

New Issue Checklist

Issue Description

The upload of a default File value fails when adding a new column.

I think this issue is caused by the following code line: https://github.com/parse-community/parse-dashboard/blob/6cfcb46e3399a02f141cbaf9c969cfb7b9ede88a/src/dashboard/Data/Browser/AddColumnDialog.react.js#L85

The Masterkey is no passed during the upload. For reference the implementation of the file upload in the data table:

https://github.com/parse-community/parse-dashboard/blob/6cfcb46e3399a02f141cbaf9c969cfb7b9ede88a/src/dashboard/Data/Config/ConfigDialog.react.js#L45

Steps to reproduce

Add File column with default value

Actual Outcome

File upload fails

Expected Outcome

File upload succeeds

Environment

Dashboard

Server

Database

parse-github-assistant[bot] commented 2 years ago

Thanks for opening this issue!

mtrezza commented 2 years ago

Closing via #1875