Skip to content

Relation Column Save Fails If the Parent has required fields #1936

Closed
@fn-faisal

Description

@fn-faisal

New Issue Checklist

Issue Description

If a Class has required columns along with relation columns. Upon clicking on the relation column for a row, as we're taken to the relation class, as the add row button is clicked to add row, after we enter the data and hit save button, we get the error Please enter all the required fields.

Steps to reproduce

Create two classes called TestClass, TestRelation. Add a required column to TestClass along with a relation column that points to TestRelation class. Add a new row in the TestClass with the required field and click save and then click on View Relation. In the Relation Class (TestRelation) click new row button and enter the data then click save. You should see an error Please enter all required fields

Actual Outcome

The relation object save fails if there are required columns in the Parent class with a message Please enter all required fields

Expected Outcome

The relation object should be saved without any error

Environment

Dashboard

  • Parse Dashboard version: 3.2.1
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Chrome
  • Browser version: 96.0.4664.55

Server

  • Parse Server version: 4.2.0
  • Operating system: MacOS Catilina
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Localhost

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 3.6
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas

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