Skip to content
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

Trigger resubmission when a submission has been removed from the issue #91

Open
jonasraoni opened this issue Jun 21, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@jonasraoni
Copy link
Collaborator

At this moment, when a submission is removed from an issue, the code is not able to detect the change and resubmit the issue.

The code detects changes to the issue by comparing an internal last modified date to the last modified date of the issue and submissions assigned to it. If a submission is removed from the issue, the last modified date of the issue isn't updated, and the submission is also not checked anymore, we don't keep track of it.

  • It makes sense to include all possible "last modified dates" to the existing code.
  • Listening for publish/unpublish events is an option, but listening for hooks that happen before inserting/updating sounds like a better option
  • The application (for now just OJS) can be updated to reflect such updates in a better way.
@jonasraoni jonasraoni added this to the 2.0.4-6 milestone Jun 21, 2024
@jonasraoni jonasraoni self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant