diff --git a/docs/images/editor-inject-preparation-error.png b/docs/images/editor-inject-preparation-error.png new file mode 100644 index 0000000000000000000000000000000000000000..f935f5eb3eefe7956b8389d33a79663cf0d4cca8 Binary files /dev/null and b/docs/images/editor-inject-preparation-error.png differ diff --git a/docs/known-issues.md b/docs/known-issues.md index 3214a7299bcf694f8be3aefb5cf6c2aab2052cc6..16f055d87e6c79f20869c366df2b50bf732a5d05 100644 --- a/docs/known-issues.md +++ b/docs/known-issues.md @@ -22,6 +22,37 @@ 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: + + + +### 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. + ## Conclusion If you require further assistance, don't hesitate to report issues to us. The [Report issue](report-issue.md) page includes instructions on how to report bugs.