-
Notifications
You must be signed in to change notification settings - Fork 196
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
caching error: after adding/deleting groups, calling instant getUser, the groups are not updated in the memberOf field #5474
Comments
I added test for that, but it passed.
result: memberOf contains info about group |
This is, how it goes on my system:
|
Yes, I can confirm. The |
This is strange. The /graph/users and /graph/groups endpoints don't do any caching currently. So it can't be a caching issue. |
@janackermann I am not able to reproduce this using curl. But I can see the broken behavior using the UI. Though to me it looks that the GET request is issued before the response of the DELETE request is received. So there seems to be a race condition between the two requests. And sometime the GET request completes before the DELETE request finishes. At least this what the server logs seem to indicate. (The timings in the Web console also suggest that both request are executed in parallel) |
checked that, we are using await async. But I will double check |
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what happened.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: