Failure when sending email when 'Export project' is done
Summary
Failure when sending email when 'Export project' is done.
Steps to reproduce
- From project settings, export the project.
What is the current bug behavior?
Error (from dev log):
[ActiveJob] [ActionMailer::DeliveryJob] [64a1b7dc-33db-4364-a7d8-475b3d5a0ff0] Performed ActionMailer::DeliveryJob from Sidekiq(mailers) in 21.25ms
/dev/gitlab-development-kit/gitlab/app/views/notify/project_was_exported_email.html.haml:5: syntax error, unexpected keyword_do_block
...l: 'nofollow', download: '', do;
... ^
/dev/gitlab-development-kit/gitlab/app/views/notify/project_was_exported_email.html.haml:9: syntax error, unexpected keyword_ensure, expecting end-of-input excluded from capture: DSN not set
What is the expected correct behavior?
Email to be sent.
Possible fixes
There's an extra comma ,
introduced by https://gitlab.com/gitlab-org/gitlab-ce/commit/20deca7c68bd28c7ef9644e18f5e96546f9f1b95 in https://gitlab.com/gitlab-org/gitlab-ce/blame/master/app/views/notify/project_was_exported_email.html.haml#L5 before the do block: download: '', do
.