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

%%USERID%% Is getting multiple users #153

Open
GC-ABlyth opened this issue Sep 9, 2024 · 0 comments
Open

%%USERID%% Is getting multiple users #153

GC-ABlyth opened this issue Sep 9, 2024 · 0 comments

Comments

@GC-ABlyth
Copy link

I am having an issue with a report designed to be run by end users.

The reports get data based on the current user %%USERID%%. Most of the time the reports work fine, however if two users run the same report at the same time, it displays both users data to one of the users.

I have tested this by creating a basic SQL query then have two users access it at the same time.

This is the query used for testing:

SELECT u.firstname
FROM {user} u
WHERE u.id = %%USERID%%

This results in one of the users getting two names, and the other just getting their name.

Is there any thing I can do to prevent this, anything I am doing wrong, or is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant