-
Notifications
You must be signed in to change notification settings - Fork 451
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
Outstanding editorial task automatic email content going wrong #10214
Comments
I cannot reproduce the bug described here. Just to confirm, the editorial reminder is sent but it doesn't contain the "A review is overdue" message or the whole editorial reminder email isn't sent? |
Hi @Vitaliy-1 , “A review is overdue” is going. However, cases with a status of 7 or 8 in the database and one or more reviewers are overdue are not included in the e-mail. |
For example, in the article in Picture 1, a referee is displayed as overdue. However, it is not included in the editorial task mail. Because in Picture 2, the status in the database is 7. Editorial Reminder only includes those with status 10 in the list. |
Hmm, review round status 7 and 8 shouldn't be assigned if the review is overdue... |
You are right, but I can see a similar situation in many articles. When I updated the code in jobs/email/EditorialReminder.php as determineStatus instead of getStatus, it worked. It may be a bug that the status stays at 7 and 8. |
Probably our implementation approach has some issue here. Here we are making decision based on last review round's status but we probably need to check the any active review assignment associated with that review round and make decision based on those review assignments' status . Another approach can be replace the About the review round get the status 7 or 8, if I am not mistaken , it will be updated to those value for a review round when any one the review assignment in that review round is pending or any review is submitted for editor to look at . Seems like this checking is bit confusing . |
…SEND status to consider review round status
I am able to reproduce the issue where Also in the
so it does not consider the One way to solve it to include the Another approach can be to have a scheduler to update the review round status to @Vitaliy-1 what do you think ? |
Hmm, it's a more general problem than I thought before. One of the solutions could be creating new job every time due dates are updated to run in a specified time (and to double check when it runs if the date isn't edited). But I would vote to not try figuring out the best approach so late in the development cycle. It's better just to use As for other status, it makes sense to add them to the |
@Vitaliy-1 as per my finding at #10214 (comment) , it is possible to only add those 2 status ( |
I'm ok to use
But it doesn't tell us if review is overdue, right? |
…SEND status to consider review round status
@Vitaliy-1 you are right about that . and in that case our only option is to depend on |
…_ROUND_STATUS_REVIEWS_READY to consider reminder
@Vitaliy-1 updated. If all ok, then I will forward port it |
Describe the bug
Dear @asmecher, @touhidurabir
The Editorial Reminder task email does not return the correct list. Is it possible to update this using the determineStatus function?
To Reproduce
Steps to reproduce the behavior:
What application are you using?
OJS version 3.4.0-5
Additional information
Picture 1.
Picture 2.
Picture 3.
Picture 4.
PRs
Stable 3.4.0
pkp-lib --> #10332
ojs --> pkp/ojs#4407 [TEST ONLY]
main (upcoming 3.5)
pkp-lib --> #10753
ojs --> pkp/ojs#4570 [TEST ONLY]
The text was updated successfully, but these errors were encountered: