-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Foreign Key Relationships in Object Detail View incorrectly default to first foreign key #21757
Labels
.Correctness
.Frontend
Priority:P2
Average run of the mill bug
.Regression
Bugs that were previously fixed and/or bugs unintentionally shipped with new features.
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Visualization/Tables
Raw, summarized, and pivoted tables
Milestone
Comments
flamber
added
Priority:P2
Average run of the mill bug
.Correctness
.Frontend
Visualization/Tables
Raw, summarized, and pivoted tables
.Regression
Bugs that were previously fixed and/or bugs unintentionally shipped with new features.
and removed
.Needs Triage
labels
Apr 22, 2022
This is kinda a repeat of #13717 |
This was referenced Feb 8, 2023
This was referenced Mar 16, 2023
This was referenced Oct 18, 2023
Merged
This was referenced Nov 21, 2023
This was referenced Jan 11, 2024
This was referenced Feb 5, 2024
Closed
Merged
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
.Correctness
.Frontend
Priority:P2
Average run of the mill bug
.Regression
Bugs that were previously fixed and/or bugs unintentionally shipped with new features.
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Visualization/Tables
Raw, summarized, and pivoted tables
Describe the bug
Often (but not always, I haven't been able to figure out the cause here), clicking the foreign-key relationship links in an object detail component links to the first foreign key for the foreign table, instead of the desired foreign key.
To Reproduce
In the sample db:
Expected behavior
We should get a new question filtered by the correct foreign key instead of the first foreign key and/or taken to a detail record with the correct foreign key.
Screenshots
wrongIdlink.mp4
wrongItemId.mp4
Information about your Metabase Installation:
Your browser and the version: Google Chrome Version 100.0.4896.127 (Official Build) (64-bit)
Your operating system: Ubutntu 20.04
Your databases: Postgres 14.2
Metabase version: master branch - 2022-04-19 - v0.42.1-SNAPSHOT"
Metabase hosting environment: local development
Metabase internal database: H2
Severity
Makes the relationships links useless in many situations
The text was updated successfully, but these errors were encountered: