You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In troubleshooting another issue (which hasn't been reported, yet, but is related to #1654 ), we were tracing the code responsible for creating a workflowlog event as part of the submission process, and settled on the possibility that the workflow chunk in this section of code:
... might need to be called earlier in the process, possibly immediately after the article.save() at line 519.
Janeway version
preprint-merge, head
To Reproduce
Steps to reproduce the behavior:
Not currently available.
Expected behavior
All articles, after they are submitted, should have a workflowlog entry. Under certain circumstances (not yet known to us) an article can be in a review workflow, without a workflowlog entry.
Screenshots
none
Front-end Issues
If the issue is front-end specific please add the following details:
n/a
Smartphone (please complete the following information):
n/a
Additional context
none
The text was updated successfully, but these errors were encountered:
In submit_review, raise the event for ON_WORKFLOW_ELEMENT_COMPLETE to
immediately after the article.save, to avoid a possible race condition
which might cause an article to be in the review queue but without an
entry in the workflowlog.
Fixesopenlibhums#2515
In submit_review, raise the event for ON_WORKFLOW_ELEMENT_COMPLETE to
immediately after the article.save, to avoid a possible race condition
which might cause an article to be in the review queue but without an
entry in the workflowlog.
Fixes#2515
Describe the bug
In troubleshooting another issue (which hasn't been reported, yet, but is related to #1654 ), we were tracing the code responsible for creating a workflowlog event as part of the submission process, and settled on the possibility that the workflow chunk in this section of code:
https://github.com/BirkbeckCTP/janeway/blob/68593d9c4661af5a4363b29cd2f1d83fa3b8ddb8/src/submission/views.py#L537-L543
... might need to be called earlier in the process, possibly immediately after the
article.save()
at line 519.Janeway version
preprint-merge, head
To Reproduce
Steps to reproduce the behavior:
Not currently available.
Expected behavior
All articles, after they are submitted, should have a workflowlog entry. Under certain circumstances (not yet known to us) an article can be in a review workflow, without a workflowlog entry.
Screenshots
none
Front-end Issues
If the issue is front-end specific please add the following details:
n/a
Smartphone (please complete the following information):
n/a
Additional context
none
The text was updated successfully, but these errors were encountered: