Commit bbb9adf9 authored by Filip Šenk's avatar Filip Šenk
Browse files

Removed issues that were fixed

parent 95503ad7
Loading
Loading
Loading
Loading
+0 −71
Original line number Diff line number Diff line
@@ -3,77 +3,6 @@
This page outlines the known issues associated with the platform and provides guidance on how to
resolve or work around them.

## An exercise with more than 50 teams cannot be created

### Issue

The Create dialog in Exercise Panel does not allow the creation of exercises with more than 50
teams.

### Cause

This is an intentional limitation hardcoded in the frontend code to prevent creating exercises with
too many teams, which could lead to performance issues and a poor user experience.

### Solution

To change the hardcoded limit, you can modify the `TEAMS_MAX` constant in the
`frontend/frontend/src/exercisepanel/ExerciseManager/ExerciseCreator.tsx` file (line 36).

For further releases, we plan to make this limit configurable via a platform-wide setting.

## Exercise cannot be started after an outage

### Issue

Cannot start an exercise even though all exercises are stopped.

### Cause

When an exercise is running, a special lockfile is created. This lockfile is deleted automatically
when the exercise is stopped. If the backend server crashes or the server is manually stopped during
a running exercise, this file will not be properly deleted, preventing from starting this specific
exercise again. The server is set up to automatically delete all lockfiles on startup. However, if
this issue persists even after restarting the server, it could be possible that the process failed.
Ensure that no lockfiles are present in the `data` directory with the name `exercise-<ID>.lock`. The
`data` directory is located in the base directory of the backend. These files can be deleted while
the server is running, however only if there are no actual running exercises.

## Editor: The created definition is invalid

### Issue

Leaving the _Content_ field blank during the _Injects preparation_ phase results in the creation of
invalid definitions.

### Cause

In this case, the _content_path_ in _injects.yml_ is set to a non-existing file.

### Solution

During the _Injects preparation_ phase in Editor, make sure to fill in the _Content_ field for all
your injects.

## Editor: Failed to update inject (ConstraintError)

### Issue

When clicking on _Save_ or _Save & Exit_ during the _Injects preparation_ phase, the following error
is shown:

![Failed to update information inject: ConstraintError: Unable to add key to index 'injectInfoId': at least one key does not satisfy the uniqueness requirements. ConstraintError: Unable to add key to index 'injectInfoId': at least one key does not satisfy the uniqueness requirements.](./images/editor-inject-preparation-error.png)

### Cause

When saving the prepared inject for the first time, the creation process triggers twice due to an
error in code. Therefore, the code is trying to create an inject with the same key (id), triggering
the constraint error.

### Solution

Ignore the error.

## Definition validation

### Issue