Skip to content
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

Cannot route to nested relations #2088

Closed
4 tasks done
Novulux opened this issue Apr 8, 2022 · 4 comments · Fixed by #2420
Closed
4 tasks done

Cannot route to nested relations #2088

Novulux opened this issue Apr 8, 2022 · 4 comments · Fixed by #2420
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@Novulux
Copy link
Contributor

Novulux commented Apr 8, 2022

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

@parse-github-assistant
Copy link

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.

@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label May 27, 2023
@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Jun 10, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants