payload icon indicating copy to clipboard operation
payload copied to clipboard

POTENTIAL BUG - Updating your own user document in the admin panel either logs you out or hangs if in a hook

Open mcornielje090404 opened this issue 1 year ago • 1 comments

Hello I've noticed when building out some functionality that if I update the user who I am currently logged in as's object then it either hangs if it is in a hook or logs me out if I am updating the user record itself.

I am working on 3.0.0-beta.32.

Steps to recreate log out:

  • Login as a user
  • Update your own record
  • You will be logged out

Steps to recreate hanging on a hook:

  • Login as a user
  • Create a hook on a separate collection (I know infinite calls can be a risk if it's the same collection)
  • Update a user that you are not signed in as - it will go through fine
  • Update your own user - it will hang indefinitely

mcornielje090404 avatar May 16 '24 17:05 mcornielje090404

@mcornielje090404 I've tested with this repo and could not reproduce. Can you test with the latest version 3.0.0-beta.34 and confirm you get the same behavior?

If you do, please provide a reproduction / screen recording / some more information to help us recreate.

jessrynkar avatar May 20 '24 11:05 jessrynkar

Closing, no reproduction given.

JarrodMFlesch avatar Jun 13 '24 16:06 JarrodMFlesch

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Sep 07 '24 02:09 github-actions[bot]