-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-add sent review request email data into the email log #9991
Comments
@Vitaliy-1 Thank you for the sharing the files path. I have added functionality to log email data for the "Add Reviewer" action in OJS 3.4. Below are the changes made: Files Modified Changes
Added new constants for email events: `class PKPSubmissionEventLogEntry extends EventLogEntry
} Modified the addReviewer method to include email logging: `public function addReviewer($request, $submission, $reviewerId, &$reviewRound, $reviewDueDate, $responseDueDate, $reviewMethod = null)
} Summary These changes ensure that email data is logged whenever a reviewer is added.` |
@Vitaliy-1 I've created PRs for this. Please take a look. PRs: ojs (main) - pkp/ojs#4373 omp (main) - pkp/omp#1651 ops(stable 3.4) - pkp/ops#770 |
@taslangraham, I've had a report (SciELO) that this is also happening for review reminders, i.e. they are being sent but not logged in the email log. Can you verify and add to the fix as needed? |
@asmecher I'll look into it |
Thanks, @taslangraham! Since a couple of templates were missing logging, could you take a bit of a survey of other review related emails to see if it's a wider spread problem? Look in |
Sounds good, thanks, @taslangraham! In general it's best to code against the stablest branch you're targeting first, then forward-port from there -- that way you're less likely to introduce regressions. But let me know when it's ready for a look. |
Excellent work, @taslangraham! All merged. |
Describe the bug
Described on the forum https://forum.pkp.sfu.ca/t/review-request-emails-no-longer-logged-in-ojs-3-4-intentionally/88499
In 3.3, when sending a review request email, the email information was recorded in the
email_log
table. It didn't have a specificevent_type
for that action.To Reproduce
Steps to reproduce the behavior:
Add Reviewer
email_log
tableWhat application are you using?
OJS 3.4, OJS main
Additional information
SUBMISSION_EMAIL_REVIEW_REQUEST
andSUBMISSION_EMAIL_REVIEW_REQUEST_SUBSEQUENT
PKP\submission\action\EditorAction::addReviewer()
, usePKP\log\SubmissionEmailLogDAO::logMailable()
to record the data.The text was updated successfully, but these errors were encountered: