[8pt] Invite Existing user to Participatory space private participant or to Assembly


Describe the bug

For a Participatory space or Assembly when you try to invite en Existing User to a Participatory space or Assembly as a Private Participants, the invite is not sent. The column Invitation sent at stays empty and the Ressend button is not displayed so we cant send the invitation a 2nd time.
For a non existing user it works well, the user receive and invite to subscribe to Decicim and to join the Partipatory process. And the

To Reproduce
Steps to reproduce the behavior:

  1. Go to an existing Partipatory Process or an Assembly
  2. Click on 'Private Participants'
  3. Click on 'New Participatory space private user'
  4. Enter the Name and Email address of an Existing User then click on Create
  5. See error

Expected behavior
For an Existing User the Invite should be send and we should see the Date and time in the Invitation sent at column and the Ressend button should be displayed allowing us to resend and invitation to the user.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Stacktrace
If applicable, add the error stacktrace to help explain your problem.

Extra data (please complete the following information):

  • Device: Desktop
  • Device OS: Windows 10
  • Browser: Chrome
  • Decidim Version: 0.26.3, 0.26.2, 0.25

Additional context
Add any other context about the problem here. For instance, add Metadecidim link.


REFERENCE: https://github.com/decidim/decidim/issues/9897

Edited by Hadrien Froger