Diale
October 20, 2022, 8:36am
1
There is a bug with date filters using a embedded link.
While the page is refreshing if I change the date from the date filter the dashboard doesn't filter with the new date selected in the filter.
Instead it uses the old filter selected.
It seems that it only happens on embedded links.
Hi @Diale
Post "Diagnostic Info" from Admin > Troubleshooting. Latest release is 0.44.5
Diale
October 20, 2022, 9:52am
3
Here it is.
{
"browser-info": {
"language": "es-ES",
"platform": "Linux x86_64",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.16.1+1",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/ ",
"java.version": "11.0.16.1",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.16.1+1",
"os.name": "Linux",
"os.version": "5.13.0-1025-gcp",
"user.language": "en",
"user.timezone": "Europe/Madrid"
},
"metabase-info": {
"databases": [
"h2",
"postgres",
"clickhouse"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "11.8 (Debian 11.8-1.pgdg90+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.0"
}
},
"run-mode": "prod",
"version": {
"date": "2022-09-29",
"tag": "v0.44.4",
"branch": "release-x.44.x",
"hash": "382d728"
},
"settings": {
"report-timezone": "Europe/Madrid"
}
}
}
flamber
October 20, 2022, 10:09am
4
@Diale Check your logs, which should show what is going on. Admin > Troubleshooting > Logs.
Sounds like there's a race-condition, but perhaps https://github.com/metabase/metabase/issues/17061 is involved too.
Diale
October 20, 2022, 11:00am
5
Should I send the log here?
I have also noticed that some questions are filtered with the new date selected and others with the old one, seems to be random.
flamber
October 20, 2022, 11:16am
6
@Diale When you change the filter, then previous (running) requests should be cancelled, and new requests should be made.
It is tricky to troubleshoot race-conditions.
Diale
October 20, 2022, 11:22am
7
Seems that it only happens in embedded dasboards, I can't replicate it inside metabase.