DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
701 stars 249 forks source link

Select shortname from current contestproblem #2575

Closed vmcj closed 1 month ago

vmcj commented 1 month ago

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 https://github.com/DOMjudge/domjudge/issues/2279

I did not check if this was fixed in main yet but otherwise we should have cherrypicked this.