Skip to content

Team hidden status is not expose from API when team is disabled #3205

@cubercsl

Description

@cubercsl

Description of the problem

When you disable a team, it will disappear from the scoreboard (both web UI and scoreboard contest API) but it still expose hidden: false in /teams Contest API.

Your environment

  • DOMjudge version 9.0
  • Ubuntu 24.04
  • Nginx

Steps to reproduce

  1. Create a contest and import data
  2. Run the contest
  3. Disable (disqualify) a team

Expected behaviour

The team disappears on the scoreboard, and the Contest API /teams should expose hidden: true

Actual behaviour

The Contest API /teams still expose hidden: false when the team belongs to a visible team category.

Any other information that you want to share?

https://domjudge-org.slack.com/archives/CHHURFUM7/p1763431721791879

This is a rare situation. Disabling a team will break the downstream client (ICPCTools CDS or other CLICS-compatible clients) behavior.

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