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

ARR: Fix resubmission bug for fields with only readers #2069

Merged
merged 12 commits into from
Apr 2, 2024

Conversation

haroldrubio
Copy link
Member

This PR adds an extra safety check for fetching resubmissions. There is some behavior with the preprint release invitation that adds readers to optional fields that may not have been in the original submission. The preprint release invitation adds these fields to the submission with only readers and no value.

The resubmission script was just checking for the previous URL to be in the content and then assumes that it has a value, this PR fixes that and also checks for a value

  • Adds some extra tests for other fields that should be restricted to authors and PCs
  • Moves resubmission logic to helpers.py and calls the function in the tests
  • Resubmission logic now checks for 'value' key in the previous_URL field

"existing_preprints",
"Association_for_Computational_Linguistics_-_Blind_Submission_License_Agreement",
"section_2_permission_to_publish_peer_reviewers_content_agreement"
"section_2_permission_to_publish_peer_reviewers_content_agreement",
"reviewing_volunteers"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

@melisabok melisabok merged commit ade7cdc into master Apr 2, 2024
1 check passed
@melisabok melisabok deleted the fix/arr-readers-only-previous-url branch April 2, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants