I am using 0.32.5 with Firefox (latest update), H2 metadata db, and referencing SQL Server 2012 database
I have a dashboard that references a native SQL query. The query does a lookup on one table which has 11 rows. I have a filter field that properly shows the list of values in the drop down (there are 2 values).
I changed the database connection to point to an updated SQL Server database. The schema is identical but the table now has 13 rows. After setting the connection, I hit “Sync database schema now” and watched the console for errors (there weren’t any). I brought up my dashboard and the filter field only shows the original 2 values, the 3rd value that was added in the new rows, would not appear. All 13 rows displayed properly in the results area.
The problem is only related to the filter fields.
These are all the things I checked or tried that did not help:
Checked shared link
Hit F5 in browser
Logged out of Metabase (client side) and cleared Firefox cache
Logged out of Metabase (client side), cleared Firefox cache, and restarted Firefox
Set the Auto-Refresh and waited for it to complete
The only thing that worked was running “Re-scan field values now” then hitting F5 on the dashboard page.
I’ve checked the issues list and it seems most sync issues are closed. There are some that say it will take a while for synched changes to appear. I’m not sure what “a while” means. In my case, I changed to point to a different database but the real use case is that the data is updated in the database and the user wants to see the updated values. So I tested that too - when I come into the dashboard, all new data appears immediately, but the field filter dropdown does not have the new values.
I can’t re-scan the fields and tell the users to hit F5 on their browser every time the data is updated. Before I report this as a bug, I was wondering if anyone else is having problems or know what the cause could be.
By the way, I have “Enable Caching” set to Disabled.