The SIO2 project
  1. The SIO2 project
  2. SIO-2417

Adding a problem which has model solution in language not available in contest controller crashes site

    Details

    • Type: Bug Bug
    • Status: New New
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Current Version
    • Fix Version/s: None
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      Server gets assertion error when trying to retrieve compiler for the submission -- which doesn't exist, because contest controller overrides general compiler names.

      Create contest controller with specified languages -- e.g. add
      def get_allowed_language(self):
            return ['C']
      to oioioi/oi/controller.py
      Create a public task (you can use Sumżyce) with py solution.
      Add to contest. Try adding to round (the site crashes just after clicking save) from basic problem form view. Voila.

        Activity

        Connect your code to JIRA

        Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.

        Git & Mercurial in the cloud

        Collaborate across unlimited private code repositories.

        Git behind the firewall

        Manage and collaborate on Git repositories behind a firewall.

        Browse and search code

        Browse, search, and track source code repositories.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alicja Kluczek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: