Werk #22797 · Oct 19, 26
Unit lookup: handle missing metric
When the unit of a selected metric was looked up for a form that lets
you choose a metric (for example in graph or dashboard settings), a
request without a metric produced a crash report with
KeyError: 'metric'.
Such a request is now handled like an empty metric selection, and the default unit is preselected.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p18All Editions
- 2.4.0p39All Editions