Metrics (v1) revisions API is broken #42633
Labels
Administration/Metrics & Segments
Priority:P1
Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness
.Regression/master
Regression that is only present on master, or bug in new upcoming feature
.Reproduced
Issues reproduced in test (usually Cypress)
Type:Bug
Product defects
Milestone
Describe the bug
When trying to view revisions for a metric, the spinner keeps loading forever. The console warns that the endpoint doesn't exist.
To Reproduce
/admin/datamodel/metric/1/revisions
/api/metric/1/revisions
Expected behavior
One should be able to load metric revisions, just like it's currently possible for segments.
Logs
No response
Information about your Metabase installation
local dev, `master`, f52e02f, H2, Sample Database
Severity
P1
Additional context
This became broken when we renamed the legacy metrics in #39232.
The code is calling
fetchRevisions
action, which invokesRevisionsApi
under the hood.We missed this because
/revisions
wasn't a part of Metrics entity or the metrics api.The text was updated successfully, but these errors were encountered: