IBX-12339: Email sending not working : Invite user - #257
Open
vidarl wants to merge 1 commit into
Open
Conversation
|
Thanks for contribution! 🎉 To test the changes please execute: before executing the recipes. |
|
ibexa-workflow-automation-1
Bot
requested review from
Steveb-p,
ViniTou,
alongosz,
barw4,
bnowak,
ciastektk,
konradoboza,
mikadamczyk,
tbialcz and
wiewiurdp
and removed request for
a team
August 27, 2026 06:02
7 tasks
bnowak
approved these changes
Sep 3, 2026
konradoboza
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Related PRs:
Strictly speaking not related, but needed in order to make the invite user functionality work end-to-end (IBX-12340):
Description:
Ibexa\AdminUi\Notifier\UserInvitationdecoratesIbexa\Contracts\User\Invitation\InvitationSenderand only send emails when
notifications.subscriptionscontainsIbexa\AdminUi\Notifier\Notification\UserInvitation. No recipe subscribes that class: the shippedconfig/packages/ibexa.yamlsubscribesIbexa\Contracts\User\Notification\UserInvitation, which thedecorator never reads. ( The difference is
Ibexa\AdminUi...vsIbexa\Contracts....in the namespace)So on a clean install, the invite-user functionality never sends the invitation e-mail.
This issue is similar to IBX-11241 (UserPasswordReset email never sent) and was fixed the same way in #236.
Also adding FormSubmitted on editions where that is applicable. The
subscriptionsarrayin
defaultandadmin_groupwon't be merged. Thus, it needs to be copied toadmin_group.Submitting forms from the back office might not be common, but it can happen.
Applied to 5.0 and 6.0 of all four editions. FormSubmitted only goes to experience and commerce,
since
ibexa/form-builderis not part of oss or headless.For QA:
On a clean 5.0.10 (or 6.0) install with a working
MAILER_DSN:invitation row appears in
ibexa_user_invitationwithsite_access_name = admin, and no mail issent.
composer recipes:install ibexa/<edition> --force, thencache:clear): repeatthe invitation. The mail arrives, containing a link to
/admin/from-invite/register/{hash}.Documentation: