-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Relationship links are broken #2940
Comments
That's definitely a bug I introduced with the admin ui overhaul, my bad! Good catch! |
@webteckie Just tried this on the relationship field on the e2e server. Added a new relationship and choose "e2e member". Went back to the relationship list view and clicked on "e2e member" in the "field A" column and it took me to e2e member's user item view, which is what is supposed to happen. What am I missing to recreate this? |
This is the same issue I faced and reported few days back. |
This is reproducible by running the following e2e test from the keystone root directory:
|
Closing ... PR #2986 fixed this. |
Tests updated in the nightmare testing branch: keystonejs/keystone@8bd457b#diff-4dba9b0fc99b66b3ee6eb30ea2c37f60 |
Expected behavior
Clicking a relationship link should navigate to the referenced relationship.
Actual behavior
In the following image notice the link to the
![image](https://cloud.githubusercontent.com/assets/5872515/15524199/32b708ca-21ee-11e6-96e2-84f0d0e68204.png)
Post Widget
but then notice the requests issued to the server. It is doing a GET on the current list with the relationship definition but with the _id of the referenced item.Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: