Mr.Quantum_1915's blog

By Mr.Quantum_1915, 7 months ago, In English

BUG: Submissions fail to load from gym standings (infinite 'LOADING' spinner) for participants, even when "Allow view" is set to "Anyone"

Hello Codeforces Community,

I believe I've found a bug related to submission visibility in gym contests.

Context Contest Type: Gym Contest

Contest Status: Ended

Setting: The option "Allow view other submissions to:" is set to Anyone (Enabled).

Here is a screenshot of the contest settings:

Steps to Reproduce & Observations

1) As Contest Manager (with "Manager Mode" ON):

Result: I can correctly see source codes of submission done from the standings page by clicking on a user's score. This works as expected all submission loads and also source code are visible

2) As a Participant (or as Manager with "Manager Mode" OFF):

Result: I cannot see any submissions from the standings page. Clicking on a score does not lead to the source code or submission IDs. When I click on a '+' sign of particular problem for a participant on standing page, "The pop-up that comes only shows a LOADING animation and NOTHING HAPPENS". I even wait for an hour, but it didn't load at all. I also confirmed that the issue is not of Network and all (although it doesn't matter because submissions load in manager mode, it must also for participants too). I confirmed with actual participants of the contest too, they are facing the same issue.

Screenshots :

Expected Behavior:

When the "Allow view other submissions to" setting is ON, all users (including participants) should be able to click a score in the final standings and view the corresponding submission after the contest has ended.

It seems that codeforces has a bug while fetching submissions for gym contest from server when the accessor is a participant (or ID with manager mode OFF).

Or am I MISSING any important stuff here?

MikeMirzayanov and others

Could you please look into this?

Thank you.

  • Vote: I like it
  • 0
  • Vote: I do not like it