codefog / contao-events_subscriptions

Contao extension that allows members of your website to subscribe to the events
MIT License
10 stars 5 forks source link

Waiting list mail is not sent #78

Closed eiswurm closed 2 years ago

eiswurm commented 2 years ago

If only one participant is on the waiting list and this person slips onto the normal participant list, the waiting list email will not be sent. If more than one participant is on the waiting list and one of them slips onto the participant list, the email will be sent. In our opinion it could be a bug in the NotificationListener :: getWaitingListPromotedSubscription ()

eiswurm commented 2 years ago

We have been able to narrow the bug regarding the sending of the mail "Change of waiting list". The bug appeared on other setups and customers as well. But the error occurs just from version 2.13. Till 2.12 everything is fine. The mail is sent.

Again: If you delete the participant who was the first to register for an event and a waiting list participant slips onto the participant list, the mail "Change of waiting list" is not sent. If you delete the second, third or nth participant, the mail will be sent. The same error occurs if you remove more than one participant from the list of participants.

qzminski commented 2 years ago

Would you be able to patch your system with https://github.com/codefog/contao-events_subscriptions/commit/9c18585db39ff97583849369274c5d30c3c9a716 commit and see if it fixes the issue?

eiswurm commented 2 years ago

Yes, this fixes the issue.

qzminski commented 2 years ago

Perfect, I have just released version 2.14.2.