Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter feature flag causes Run-overlay of results in Native editor unless editor is expanded #16739

Closed
flamber opened this issue Jun 23, 2021 · 0 comments · Fixed by #16850
Closed
Assignees
Labels
.Frontend Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/Native The SQL/native query editor .Regression Bugs that were previously fixed and/or bugs unintentionally shipped with new features. .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Milestone

Comments

@flamber
Copy link
Contributor

flamber commented Jun 23, 2021

Describe the bug
Repeat of #15981.
Filter feature flag causes Run-overlay of results in Native editor unless editor is expanded. Only users with SQL rights are able to expand the editor.

To Reproduce
Filter feature flag is required.

  1. Native query > Sample Dataset > select * from PRODUCTS where {{filter}}
  2. Set variable as Field Filter of Products.Category and filter type to "String"
  3. Run query - notice that the Run button stays active
    image
  4. Collapse the editor - it will now show a Run-overlay, which cannot be removed unless expanding the editor, which isn't possible for all users (depending on permissions).
    image

Information about your Metabase Installation:
Tested 1.39.3 and 1.39.4

@flamber flamber added Type:Bug Product defects Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/Native The SQL/native query editor .Frontend .Regression Bugs that were previously fixed and/or bugs unintentionally shipped with new features. labels Jun 23, 2021
@nemanjaglumac nemanjaglumac added this to Backlog in Cypress Testing Jun 23, 2021
nemanjaglumac added a commit that referenced this issue Jun 24, 2021
nemanjaglumac added a commit that referenced this issue Jun 24, 2021
@nemanjaglumac nemanjaglumac added the .Reproduced Issues reproduced in test (usually Cypress) label Jun 24, 2021
@kulyk kulyk self-assigned this Jun 29, 2021
kulyk added a commit that referenced this issue Jul 1, 2021
kulyk added a commit that referenced this issue Jul 1, 2021
)

* Enable #16739 repro

* Fix isResultDirty selector when filter is empty

* Enable repro for #16811
@flamber flamber added this to the 0.40 milestone Jul 1, 2021
nemanjaglumac added a commit that referenced this issue Jul 6, 2021
* Extract repro for #12228 into a separate file

* Extract repro for #15444 into a separate file

* Extract repro for #15460 into a separate file

* Extract repro for #15700 into a separate file

* Extract repro for #15981 into a separate file

* Extract repro for #16739 into a separate file

* Extract repro for #13961 into a separate file

* Extract repro for #14145 into a separate file

* Extract repro for #12581 into a separate file

* Extract repro for #14302 into a separate file

* Extract repro for #15163 into a separate file

* Extract repro for #11580 into a separate file

* Extract repro for #11480 into a separate file

* Extract repro for #9357 into a separate file
This was referenced Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/Native The SQL/native query editor .Regression Bugs that were previously fixed and/or bugs unintentionally shipped with new features. .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Projects
Development

Successfully merging a pull request may close this issue.

3 participants