psu-libraries / etda_workflow

Electronic Theses and Dissertations Application: Admin, Author, and Committee Member workflows.
MIT License
3 stars 1 forks source link

Update Grad School Auto Mailers #796

Closed jlandiseigsti closed 2 months ago

jlandiseigsti commented 3 months ago

AC The grad school was under the impression that emails were being automatically sent to students when their format reviews were rejected or accepted. They would like this to be the case, like it currently is for honors and sset.

Also they have language changes, some major and some minor, to just about all the autoreply emails.

TECH NOTES Currently the logic for this exists on workflow_mailer.rb, lines 14/25, in which calling format_review_rejected/accepted raises an Exception is raised unless the partner is sset or honors. Additionally, see format_review_update_service lines 28/34, which only call the mailer method if the partner is sset or honors.

We will need to update the tests on workflow_mailer_spec.rb

jlandiseigsti commented 2 months ago

Updated email texts: https://docs.google.com/document/d/10LttluCjcs9kWKZhECKBuTXFBHQh5mkW9W-KXz2TU74/edit