Skip to content

Select shortname from current contestproblem #2576

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

Merged
merged 1 commit into from
May 28, 2024

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented May 27, 2024

If you test a problem in contest A with shortname "bla" and run your real contest B (problem shortname "C") we would pick the first contestProblem so we would have displayed "bla" for the clarification.

Fixes #2279

(cherry picked from commit f3725a1)

If you test a problem in contest A with shortname "bla" and run your
real contest B (problem shortname "C") we would pick the first
contestProblem so we would have displayed "bla" for the clarification.

Fixes DOMjudge#2279

(cherry picked from commit f3725a1)
@vmcj vmcj requested a review from nickygerritsen May 28, 2024 13:20
@vmcj vmcj added this pull request to the merge queue May 28, 2024
Merged via the queue into DOMjudge:main with commit 0219d8e May 28, 2024
22 checks passed
@vmcj vmcj deleted the fix_main_cproblem_first_in_testcontest branch May 28, 2024 20:04
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.

In the contestant's clarifications block, the shortname and color of the problem are not displayed correctly.
2 participants