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

Can't exit error popup for Pivot Grid - Dynamic Security Error #1360

Open
jamhos opened this issue Jul 30, 2024 · 3 comments
Open

Can't exit error popup for Pivot Grid - Dynamic Security Error #1360

jamhos opened this issue Jul 30, 2024 · 3 comments
Assignees
Labels
issue: bug Confirmed as a bug in TE3

Comments

@jamhos
Copy link

jamhos commented Jul 30, 2024

Description

When we overcomplicated our security roles, I got a popup on the Pivot Grid "Unable to query data for Pivot Grid" - this is fine (same as Excel).

BUT I am unable to exit the popup - clicking OK just keeps generating unlimited numbers of the same popup so I have to force-quit Tabular Editor.

Tabular Editor 3 Version

3.14.0

Screenshots

image

Steps to Reproduce

  1. Create some complicated roles that conflict
  2. Test them in the Pivot Grid using a measure or two
  3. Impersonate a role that triggers the role conflict
  4. Unable to exit error message

Expected behavior

The error message is correct - but I would expect it to then revert to eg. a non-impersonated role, or somehow allow the user to go back and fix the issue rather than force-quit.

Crash Report

No response

Windows Version

11

@jamhos jamhos added the template: issue Issue report created by user, needs to be triaged label Jul 30, 2024
@otykier
Copy link
Collaborator

otykier commented Jul 31, 2024

I believe this issue should be fixed in the newest version of TE3 (3.16.2). Could you try to download it from here: https://docs.tabulareditor.com/te3/other/downloads.html

Let us know if it still doesn’t work. Thanks!

@jamhos
Copy link
Author

jamhos commented Aug 5, 2024

Thanks @otykier, I've updated to the latest version (3.16.2).

I accidentally tested two scenarios here.
Scenario 1:

  • Create Pivot Grid as "admin" user (without any RLS issues)
  • Switch to user with RLS issues
  • Receive two popups at once (see below screenshot) - if I click Ignore on the first (Unhandled Exception), then OK on the second (Unable to change impersonation), I can successfully continue what I'm doing in TE. Clicking 'Abort' immediately exits TE.
  • If I then try again to impersonate the user, I receive the "unable to change" popup without the "unhandled exception" (so would appear to only be on the first attempt).

image

Scenario 2:

  • Already impersonating a user in TE (successfully).
  • Add broken RLS to user (via AD roles).
  • Refresh pivot grid.
  • This results in the "unhandled exception encountered" popup. Clicking 'Ignore' essentially replicates the initial reported issue (it keeps appearing). Clicking 'Abort' exits TE immediately.

I think the updated program definitely handles the error better (Scenario 1 is far more likely to occur, and it's possible to not crash out of TE), but ideally I would just receive the "Unable to change impersonation" popup and continued from there.
Error log from unhandled exception:
Error Report.txt

Hope that's enough info! Thanks again.

@otykier
Copy link
Collaborator

otykier commented Aug 5, 2024

Thanks a lot for providing this additional information. We'll see if we can improve this experience over all.

@otykier otykier added issue: bug Confirmed as a bug in TE3 and removed template: issue Issue report created by user, needs to be triaged labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

2 participants