Skip to content
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

Upload of default File fails #1809

Closed
4 tasks done
gSilas opened this issue Sep 21, 2021 · 2 comments
Closed
4 tasks done

Upload of default File fails #1809

gSilas opened this issue Sep 21, 2021 · 2 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@gSilas
Copy link

gSilas commented Sep 21, 2021

New Issue Checklist

  • I am not disclosing a vulnerability.
  • I am not just asking a question.
  • I have searched through existing issues.
  • I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.

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:

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

value.save({ useMasterKey: true }).then(() => onChange(value));

Steps to reproduce

Add File column with default value

Actual Outcome

File upload fails

Expected Outcome

File upload succeeds

Environment

Dashboard

  • Parse Dashboard version: 3.0.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
  • Browser version: lastest

Server

  • Parse Server version: latest
  • Operating system: Linux
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Docker

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: latest
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local
@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 21, 2021

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Sep 23, 2021
@mtrezza
Copy link
Member

mtrezza commented Oct 20, 2021

Closing via #1875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants