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

Assignment preprocesses: Fix domain content keys #2325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enrubio
Copy link
Member

@enrubio enrubio commented Aug 16, 2024

In some preprocess functions we retrieve fields from the domain using the committee name in the key. The problem is that these fields are hardcoded and don't use the committee name. It's an issue for venues that use custom role names.

const quota = domain.content?.['submission_assignment_max_' + reviewersName.toLowerCase()]?.value
const inviteAssignmentId = domain.content?.[reviewersName.toLowerCase() + '_invite_assignment_id']?.value
const quota = domain.content?.['submission_assignment_max_reviewers']?.value
const inviteAssignmentId = domain.content?.['reviewers_invite_assignment_id']?.value
Copy link
Member

Choose a reason for hiding this comment

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

I think this won't work for area chairs assignment. May be the invitation should have another variable here.

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.

2 participants