parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Cannot route to nested relations

Open Novulux opened this issue 3 years ago • 1 comments

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

Novulux avatar Apr 08 '22 19:04 Novulux

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

🎉 This change has been released in version 5.2.0-alpha.8

parseplatformorg avatar May 27 '23 12:05 parseplatformorg

🎉 This change has been released in version 5.2.0-beta.2

parseplatformorg avatar Jun 10 '23 14:06 parseplatformorg

🎉 This change has been released in version 5.2.0

parseplatformorg avatar Sep 15 '23 14:09 parseplatformorg