Skip to content

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

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

Closed
3 tasks done
seangeiger opened this issue Oct 5, 2016 · 2 comments
Closed
3 tasks done

Comments

@seangeiger
Copy link

seangeiger commented Oct 5, 2016

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.

@hedegren
Copy link

Having the same issue, where one of the column contains match data in base64 format.

jordanhaven added a commit to LearnWithHomer/parse-dashboard that referenced this issue Jan 6, 2017
@jordanhaven
Copy link
Contributor

Just submitted a PR for this: #623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants