Skip to content

Browser won't render class table with field that contains an object #552

Closed
@seangeiger

Description

@seangeiger

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

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

Environment Setup

Steps to reproduce

I have multiple classes which have a field that's an object. They look like this:

    {
        "objectId": "example",
        "username": "example",
        "createdAt": "2016-05-26T02:07:34.545Z",
        "updatedAt": "2016-05-26T02:07:56.154Z",
        "publicKey": {
            "__type": "Bytes",
            "base64": "examplePublicKey"
        }
    },

When the Dashboard Browser tries to display all the rows for this class, it returns an error of
"Objects are not valid as a React child (found: object with keys {__type, base64})."
and doesn't display any rows. If I filter to rows with undefined publicKeys, they display as they should.

This is related to Issue 539 but happens in a different context. The stack trace and error messages are very similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions