Resend All Invites broken

AI-generated summary

Resend All Invites Broken

adamengst reported an issue with the “Resend All Invites” feature in Discourse 2.6.0b1. When attempting to resend 619 pending invites, the system claims all invites have been resent, but no emails are sent and the “Last Sent” date does not update. However, sending individual invites works as expected. adamengst suspects this issue may have been present in the previous version as well.

The issue was later fixed by techAPJ via a commit on GitHub.

I’m running the latest 2.6.0b1, and when I click Resend All Invites (I have 619 pending), Discourse says that all invites have been resent, but nothing happens at all. The Last Sent date does not update, and no email goes out (I’ve checked in Admin > Emails > Sent). The problem existed in the previous version too, since I updated to verify that it hadn’t been fixed.

Sending of an individual invite does work—I tested that with the first one in the screenshots below. The date updates and I saw outgoing email in the Sent log.

Clicking Resend All Invites

Showing All Invites Resent (except not really)

I’ve increased the number of days of invite expiry from 30 to 60 so I hope these invites don’t all disappear on me tomorrow. :slight_smile:

I see what might be another instance of this bug at Resend 1.5k invites does not work

4 Likes

Fixed via:

https://github.com/discourse/discourse/commit/78beb4368a6d4dcfaa46ad5b1afafe7d6eabaf8e

Thanks for reporting this issue @adamengst :+1:

4 Likes