Skip to content

Cannot route to nested relations #2088

Closed
@Novulux

Description

@Novulux

New Issue Checklist

Issue Description

The routing to view relations is incorrect if you try to view them from another list of relations.

Steps to reproduce

On a class with a relation, select "View Relation" on a relation of classes that also has relations. In this list of relations, try to select "View Relation" again.

Actual Outcome

Clicking the first "View Relation" gives us the route of the format /browser/Class1/class1objectID/Class2Relation.
Clicking the second "View Relation" on the class2 object gives us the route of format /browser/Class1/class2objectID/Class3Relation

Expected Outcome

Clicking the second "View Relation" on the class2 object should give us the route of format /browser/Class2/class2objectID/Class3Relation instead.

Environment

Dashboard

  • Parse Dashboard version: 4.1.1-alpha.1
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Edge
  • Browser version: 100.0.1185.29

Server

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

Database

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

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype: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