fix(AlertsReports): validate anchor_list is a list (#38723)

(cherry picked from commit 100ad7d9ee)
This commit is contained in:
Mehmet Salih Yavuz
2026-03-23 18:19:57 +03:00
committed by Michael S. Molina
parent deeedef0dc
commit 155f55dbe1
2 changed files with 11 additions and 1 deletions

View File

@@ -259,6 +259,12 @@ def test_log_data_with_missing_values(mocker: MockerFixture) -> None:
["url1"],
["superset/dashboard/p/url1/"],
),
# Test JSON scalar string anchor falls back to single tab
(
json.dumps("mock_tab_anchor_1"),
["url1"],
["superset/dashboard/p/url1/"],
),
],
)
@patch(