Auto refresh doesn’t remember last selected interval


#1

Auto refresh doesn’t remember last selected interval and resets Date filter and value filter to default value or null vale.
I am using v0.30.1 .

Log

Sep 04 15:51:38 WARN metabase.query-processor :: Query failure: ‘Select processing date’ is a required param.
[“query_processor$assert_query_status_successful.invokeStatic(query_processor.clj:217)”
“query_processor$assert_query_status_successful.invoke(query_processor.clj:210)”
“query_processor$run_and_save_query_BANG_.invokeStatic(query_processor.clj:250)”
“query_processor$run_and_save_query_BANG_.invoke(query_processor.clj:243)”
“query_processor$fn__36989$process_query_and_save_execution_BANG___36994$fn__36995.invoke(query_processor.clj:289)”
“query_processor$fn__36989$process_query_and_save_execution_BANG___36994.invoke(query_processor.clj:275)”
“api.card$run_query_for_card.invokeStatic(card.clj:582)”
“api.card$run_query_for_card.doInvoke(card.clj:568)”
“api.card$fn__46200$fn__46203.invoke(card.clj:589)”
“api.card$fn__46200.invokeStatic(card.clj:588)”
“api.card$fn__46200.invoke(card.clj:584)”
“middleware$enforce_authentication$fn__55250.invoke(middleware.clj:116)”
“api.routes$fn__55390.invokeStatic(routes.clj:61)”
“api.routes$fn__55390.invoke(routes.clj:61)”
“routes$fn__55477$fn__55478.doInvoke(routes.clj:108)”
“routes$fn__55477.invokeStatic(routes.clj:103)”
“routes$fn__55477.invoke(routes.clj:103)”
“middleware$catch_api_exceptions$fn__55379.invoke(middleware.clj:424)”
“middleware$log_api_call$fn__55356$fn__55358.invoke(middleware.clj:351)”
“middleware$log_api_call$fn__55356.invoke(middleware.clj:350)”
“middleware$add_security_headers$fn__55304.invoke(middleware.clj:253)”
“core$wrap_streamed_json_response$fn__60666.invoke(core.clj:67)”
“middleware$bind_current_user$fn__55255.invoke(middleware.clj:140)”
“middleware$maybe_set_site_url$fn__55308.invoke(middleware.clj:277)”]

Sep 04 15:51:38 DEBUG metabase.middleware :: POST /api/card/59/query 200 (1 s) (7 DB calls). Jetty threads: 8/50 (6 busy, 2 idle, 0 queued)
Sep 04 15:51:38 DEBUG metabase.middleware :: POST /api/card/60/query 200 (1 s) (7 DB calls). Jetty threads: 8/50 (6 busy, 2 idle, 0 queued)
Sep 04 15:51:38 WARN metabase.query-processor :: Query failure: ‘Select processing date’ is a required param.
[“query_processor$assert_query_status_successful.invokeStatic(query_processor.clj:217)”
“query_processor$assert_query_status_successful.invoke(query_processor.clj:210)”
“query_processor$run_and_save_query_BANG_.invokeStatic(query_processor.clj:250)”
“query_processor$run_and_save_query_BANG_.invoke(query_processor.clj:243)”
“query_processor$fn__36989$process_query_and_save_execution_BANG___36994$fn__36995.invoke(query_processor.clj:289)”
“query_processor$fn__36989$process_query_and_save_execution_BANG___36994.invoke(query_processor.clj:275)”
“api.card$run_query_for_card.invokeStatic(card.clj:582)”
“api.card$run_query_for_card.doInvoke(card.clj:568)”
“api.card$fn__46200$fn__46203.invoke(card.clj:589)”
“api.card$fn__46200.invokeStatic(card.clj:588)”
“api.card$fn__46200.invoke(card.clj:584)”
“middleware$enforce_authentication$fn__55250.invoke(middleware.clj:116)”
“api.routes$fn__55390.invokeStatic(routes.clj:61)”
“api.routes$fn__55390.invoke(routes.clj:61)”
“routes$fn__55477$fn__55478.doInvoke(routes.clj:108)”
“routes$fn__55477.invokeStatic(routes.clj:103)”
“routes$fn__55477.invoke(routes.clj:103)”
“middleware$catch_api_exceptions$fn__55379.invoke(middleware.clj:424)”
“middleware$log_api_call$fn__55356$fn__55358.invoke(middleware.clj:351)”
“middleware$log_api_call$fn__55356.invoke(middleware.clj:350)”
“middleware$add_security_headers$fn__55304.invoke(middleware.clj:253)”
“core$wrap_streamed_json_response$fn__60666.invoke(core.clj:67)”
“middleware$bind_current_user$fn__55255.invoke(middleware.clj:140)”
“middleware$maybe_set_site_url$fn__55308.invoke(middleware.clj:277)”]

Sep 04 15:51:38 DEBUG metabase.middleware :: POST /api/card/59/query 200 (1 s) (7 DB calls). Jetty threads: 8/50 (4 busy, 4 idle, 0 queued)


#2

It’s always reset the parameter values, though I’m not sure if this is by design or not.
I’ve just tested on my server and the refresh interval appears to be fine.

Are you embedding or just viewing in the Metabase web application?


#3

I am just viewing in metabase web app


#4

Refresh should remember values in metabase web app , i am not sure what is workaround for this issue


#5

Already reported as an issue by one of the core team members on GitHub:

It doesn’t appear to be a newly introduced issue - though it’s of course still pretty annoying for those who has this particular use case.