Self-service self-managed trial license email has no license file attachment
Bug
Summary
Users can request a trial license for self-managed GitLab online through https://about.gitlab.com/free-trial/?hosted=self-managed
.
The email they receive has the license key as plain text, which can then be copy/pasted in the GitLab instance.
I checked my local Customersdot instance (http://localhost:5000/rails/mailers/legacy_license_mailer/trial_license_email) and saw the Attachments
however, the email I received from requesting a license via https://about.gitlab.com/free-trial/?hosted=self-managed does not have any attachments.
Steps to reproduce
Go to https://about.gitlab.com/free-trial/?hosted=self-managed and request a trial license.
Check email GitLab Self-managed Trial License Key for {email}
for attachments.
No attachment is included.
Workarounds
Resend or forward license email via CustomersDot admin
Availability & Testing
This may be a result of a missing test for the Mailer.
Let's ensure that before closing this issue, we have a Mailer spec that ensures that the appropriate attachment is indeed attached.