alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

BUG: platform invitations are processed before user is registered #6476

Closed techsmyth closed 2 days ago

techsmyth commented 6 days ago

Describe the bug A user that signs up to the platform after being invited by email is triggering an error in the server logs.

I think that this is due to communityInvitations being triggered before the user is registered:

image.png

resulting in:

image.png

and

image.png

The result is that the user does not see their pending invitations when they are logged in.

To Reproduce Steps to reproduce the behavior:

  1. Invite an external user by email
  2. Login with that user so that registrations are tiggered
  3. Error is generated in the logs

Expected behavior The user registration flow should complete before communityInvitations are retrieved

ccanos commented 2 days ago

tested on acc. Adding that label pinned to mark it, will remove it later when closed