Skip to content

Field name clash in user custom testing results #1159

@ollpu

Description

@ollpu

Description:
image
Time reads execution time instead of the time the test was sent at.

Steps to reproduce:
Send a custom test and wait for it to complete without reloading the page. If the result is fetched via JS, the visual error occurs.

It seems both fields have class="time", so the first field gets overwritten.

cms/server/contest/templates/user_test_row.html

<td class="time">{{ t.timestamp|format_time }}</td>
...
<td class="time undefined">
...
<td class="time">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions