Cannot route to nested relations #2088
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
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
4.1.1-alpha.1
Edge
100.0.1185.29
Server
4.2.0
Linux
Heroku
Database
MongoDB
4.4
MongoDB Atlas
Logs
The text was updated successfully, but these errors were encountered: