Skip to content

Upload of default File fails #1809

Closed
Closed
@gSilas

Description

@gSilas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions