-
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
Cannot select saved questions from collections that have colon in their name in the query builder #14287
Labels
Organization/Collections
Organization/Saved Questions
Priority:P3
Cosmetic bugs, minor bugs with a clear workaround
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Projects
Milestone
Comments
metabase/frontend/src/metabase/schema.js Line 100 in 2a0683b
|
flamber
added
Organization/Collections
Priority:P2
Average run of the mill bug
Querying/Nested Queries
Questions based on other saved questions
Priority:P3
Cosmetic bugs, minor bugs with a clear workaround
Organization/Saved Questions
and removed
.Needs Triage
Priority:P2
Average run of the mill bug
Querying/Nested Queries
Questions based on other saved questions
labels
Jan 6, 2021
nemanjaglumac
added a commit
that referenced
this issue
Jan 8, 2021
nemanjaglumac
added a commit
that referenced
this issue
Jan 9, 2021
… not available [ci skip] (#14335)
8 tasks
This was referenced Jun 13, 2023
This was referenced May 8, 2024
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Organization/Collections
Organization/Saved Questions
Priority:P3
Cosmetic bugs, minor bugs with a clear workaround
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Describe the bug
The table picker says "No tables found in this database." for every collection that has a colon in its name. The reason is that the frontend sends malformed API requests (cuts the collection name right before the colon), and so it gets a 404 from the API.
Logs
Server:
Frontend:
Note that the frontend thinks it's requesting schemas from
ScanForm: TK
, but the server log showsScanForm
only.To Reproduce
Steps to reproduce the behavior:
:
in its nameExpected behavior
Saved questions show up, just like for collections that don't have
:
in their name.Screenshots
Information about your Metabase Installation:
Release 117 (Safari 14.1, WebKit 15611.1.7.2)
, Chrome87.0.4280.88 (Official Build) (x86_64)
(19H114)
v0.37.4
Severity
Low-ish
Additional context
Manually making a request to
/api/database/-1337/schema/ScanForm:%20TK
instead of/api/database/-1337/schema/ScanForm
succeeds.The text was updated successfully, but these errors were encountered: