Skip to content

never ending phase has null status #931

@lbeziaud

Description

@lbeziaud

Hi,

Phases without without end date have "status": null (example). Apparently this sometimes breaks submission, with the submission form not being available to users. I have not experienced that (I'm an admin on tested competitions) but it was reported by two participants here. This was "solved" on this particular challenge by setting an end date. Participant were not able to submit before, except on some unknown occasion (ending date was added on June 8, some submissions could be made on June 7, but reports were made after and before those submissions…).

The issue might be related to this line:

show="{_.get(selected_phase, 'status') === 'Current' || opts.is_admin}">
but a better fix would be to have "status": "Current" for phases without an end date. This could also be the result of an issue with the phase indexing.

Thank you @BrunetNathan for the initial report

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions