Haris Rozajac
37c1e3fb02
Dashboard Schema v1beta1 to v2alpha1: Preserve string template variable datasource references in query variables ( #115516 )
...
* Dashboard migration: preserve legacy string datasource references
Fix v1beta1 → v2alpha1 conversion to handle legacy string datasource
references in QueryVariable, AdhocVariable, and GroupByVariable.
Previously, string datasource references (both template variables like
"$datasource" and direct names/UIDs like "prometheus") were being
dropped during conversion, causing variable chaining to break.
The frontend's DatasourceSrv.getInstanceSettings() already handles
string references by trying uid → name → id lookup at runtime, so we
preserve the string in the uid field and let the frontend resolve it.
* trigger frontend ci tests when dashboard migration code changes
* v1: if string convert to DS ref
* Update migration testdata to fix template variable datasource references
* update
2025-12-18 15:11:09 -07:00
..
2025-11-12 11:43:46 +01:00
2025-12-18 09:59:58 -05:00
2025-12-18 09:59:58 -05:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-12-18 15:11:09 -07:00
2025-12-18 15:11:09 -07:00
2025-12-18 15:11:09 -07:00
2025-11-19 15:56:33 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-18 09:59:58 -05:00
2025-12-18 09:59:58 -05:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-18 09:59:58 -05:00
2025-12-18 09:59:58 -05:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-18 09:59:58 -05:00
2025-12-18 09:59:58 -05:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-15 18:08:35 +00:00
2025-12-15 18:08:35 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-11 08:01:31 +00:00
2025-12-11 08:01:31 +00:00
2025-11-12 11:43:46 +01:00
2025-12-16 22:39:21 +01:00
2025-12-16 22:39:21 +01:00