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

Audit logging not able to show ad-hoc native query #16845

Closed
flamber opened this issue Jul 1, 2021 · 1 comment · Fixed by #18044
Closed

Audit logging not able to show ad-hoc native query #16845

flamber opened this issue Jul 1, 2021 · 1 comment · Fixed by #18044
Assignees
Labels
Administration/Metabase analytics Pro and Enterprise meta analytics, fka audit Priority:P2 Average run of the mill bug .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Milestone

Comments

@flamber
Copy link
Contributor

flamber commented Jul 1, 2021

Describe the bug
Audit logging not able to show ad-hoc native query.

To Reproduce

  1. Native query > Sample Dataset > select 1 and run it
  2. Admin > Audit > Team members > Audit Log > click the top "Ad-hoc"
  3. The page refreshes without showing any results.
    It just shows "Something went wrong" constantly looping a reload of the frontend. This is a regression since 1.39.0.
Screencast-2021-07-01_11.48.20.mp4

Information about your Metabase Installation:
Tested 1.40.0-rc1

Additional context
Originally EE486 https://github.com/metabase/metabase-enterprise/issues/486

@flamber flamber added Type:Bug Product defects Priority:P2 Average run of the mill bug Administration/Metabase analytics Pro and Enterprise meta analytics, fka audit labels Jul 1, 2021
@nemanjaglumac nemanjaglumac added the .Regression Bugs that were previously fixed and/or bugs unintentionally shipped with new features. label Jul 1, 2021
@flamber flamber removed the .Regression Bugs that were previously fixed and/or bugs unintentionally shipped with new features. label Jul 1, 2021
@kulyk kulyk added the .Reproduced Issues reproduced in test (usually Cypress) label Sep 24, 2021
@kulyk
Copy link
Member

kulyk commented Sep 24, 2021

Reproduced by this test

kulyk added a commit that referenced this issue Sep 24, 2021
kulyk added a commit that referenced this issue Sep 24, 2021
* Fix test's describe block

* Mention #16845 repro

* Assert native query text is displayed in Audit

* Enable the repro test

* Fix ad-hoc native query not displayed in Audit correctly

* Don't display native query sidebar in read-only mode
@flamber flamber added this to the 0.41 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration/Metabase analytics Pro and Enterprise meta analytics, fka audit Priority:P2 Average run of the mill bug .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants