-
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
[OJS 3.4] Reviewer invitation email not available anymore in Submission Activity Logs #9795
Comments
The editors intentionally shouldn't be able to get the one-click emails -- in previous releases this was intentionally prevented. We'll be using more invitation tools in the future that similarly will be designed to avoid letting the editor fully "impersonate" the user without some kind of indication that's what happened. Can you describe your use case a little more? |
@Vitaliy-1, could you have a look at this one? |
Is there any possibility to solve this problem before the new version is released? |
We later realised that the subject of the OJS e-mail subject was too long. It automatically contains the title and subtitle of the submission as well as other information. The limit for the e-mail subject was set to 255, we changed it to 988 and now it's fine. |
On which table did you make this change? |
I made changes to table 'email_log'. More details in #10020 |
@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.` |
Thanks @jim13731 |
Hi @jim13731! Would you be able to open a pull request proposing those changes, and link add a link to the pull request here? That way we can review it for possible inclusion in the next release. |
Hi everyone, we have tried the code shared in the comment: #9795 (comment) on our test instance and it worked. The email is added to the Activity log of the submission: @jim13731 will you be making a official PR for this code? I think this is the only way for it to be officialy part of OJS. Thank you very much. |
Describe the bug
When inviting a new user to review a submission, a new entry with a copy of the email sent used to be added in the submission Activity Logs. Starting with 3.4, this is no longer the case. This is a major problem if the configuration "One-click Reviewer Access" is used as the Activity Logs emails copy was the only place editors can get the one click URL sent to the reviewer.
To Reproduce
Steps to reproduce the behavior:
The line that used to be in the Activity Log for reviewer invitation email was the following one :
What application are you using?
OJS 3.4.0.4 also tested on 3.4.0.5
The text was updated successfully, but these errors were encountered: