Open eldering opened 9 months ago
It shows on the first page that is rendered, so this is a synchronization thing. Unless we use a separate error block for each problem (of which I don’t know the downsides) I don’t think there is much we can do
Ok, indeed: now it shows on the submissions page.
I'd say it would be good to fix this. It looks really strange to see this message on a page it really doesn't belong.
For this to be fixed we need to:
Seems doable (search for “flash” in all controllers). Just a lot of work.
Anyone interested is welcome to create a PR, otherwise I can take a look but probably only after finals since we have plenty stuff to do that seems more important.
Sure. I agree this is not very important, but would be good to fix. Maybe at a hackathon or so.
Description of the problem
While importing problems into a new contest (from problem zip files), the message of problem id 108 showed up on the result page for problem 107, together with the message of problem 107 itself.
Your environment
DOMjudge version 8.0 running on CentOS 8
Steps to reproduce
contest.yaml
problems.yaml
This only happened once out of 12-13 problems imported, so it seems not consistently reproducible.
Expected behaviour
Each message shows on the page of that problem itself.
Actual behaviour