"Field to map to" under variable section does not select after first click

This problem has been an issue for me already sometime. Every time I select existing question and want to change data fields that map to filters I need to make the selection at least twice before selection is saved as new setting.

Steps to replicate:

  1. Create a question and make sure it includes filters
  2. Open that new question
  3. Try to change field that is mapped to a filter

Expected outcome:
Field selection is changed under "Field to map to" configuration field

Actual outcome:
Field selection is not saved and user needs to select it again for it to change

Metabase version: You're running 0.34.3

Diagnostic info:
{
"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.7+10",
"java.vendor": "AdoptOpenJDK",
"java.vendor.url": "https://adoptopenjdk.net/",
"java.version": "11.0.7",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.7+10",
"os.name": "Linux",
"os.version": "4.15.0-1057-aws",
"user.language": "en",
"user.timezone": "Etc/UTC"
},
"metabase-info": {
"databases": [
"postgres",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "11.5"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.2.8"
}
},
"run-mode": "prod",
"version": {
"date": "2020-02-25",
"tag": "v0.34.3",
"branch": "release-0.34.x",
"hash": "1a83edb"
},
"settings": {
"report-timezone": "UTC"
}
}
}

Hi @kpettai
I cannot reproduce this problem on 0.35.3 - can you try that version?
Are you seeing the same behavior in a different browser, like Firefox?
Do you see any errors in the browser console, when you have to double-click?

Yes, the same behaviour exists in Firefox and in Safari as well.

Data that Metabase uses is in three tables but Metabase cannot view everything in the table. We have created several database views for Metabase access. So when I take an existing question and change the from clause in SQL editor and then choose different view under variables window then that view will not open with the first click. Metabase opens previously saved view instead.

I am explaining the situation as best as I can :slight_smile:

@kpettai
Those are not errors, but debug warnings.

Can you try with the latest release, 0.35.3?

Do you see any errors in the log (Admin > Troubleshooting > Logs), when you try to do a manual sync+scan of your database (Admin > Databases > your-db > click “Sync…” and “Re-scan…”) ?
And do you still have the problem after doing the manual sync+scan?

We will update to newer version and see what happens.

About the steps you asked me to perform. No errors in the logs and problem still exists after manual sync+scan.