When showing a dashboard in Static Embedding that has any filter linked to a question will be run twice. First run will get cancelled with broken pipe error and the second time it runs without issues.
The query and data still loads it's more of a logging kind of issue cause it generates redundant logs.
To Reproduce
Go to New -> Question -> Sample Database -> Orders -> Count -> Save -> Add to Dashboard -> Link Date filter with Created At column
Embed the dashboard and make the filter editable:
Open Network Developer Tools and access the embedded URL ... You will see the cancelled request
This can also be seen in the Query Log:
Note: Same thing happens on preview:
And it gets worse when there are a lot of cards since each card gets cancelled:
Describe the bug
When showing a dashboard in Static Embedding that has any filter linked to a question will be run twice. First run will get cancelled with broken pipe error and the second time it runs without issues.
The query and data still loads it's more of a logging kind of issue cause it generates redundant logs.
To Reproduce
Note: Same thing happens on preview:
And it gets worse when there are a lot of cards since each card gets cancelled:
Expected behavior
Queries don't get cancelled and just run
Logs
Information about your Metabase installation
Severity
Minor since the query still runs but good to know why those get cancelled
Additional context
No response