Grading criteria template changes: added new columns for english titles and descriptions (grading_criterion_template and grading_criterion_point_template),
updated the criteria with new ones, in both languages, in their respective columns.
Specific changes for Master templates, 15hp version: Added 3p option (for U5, U6 and U7) and updated pointsRequiredToPass from 1 to 2 (for U5, U6, U7 and U13).
Specific changes for Magister templates, 0hp and 30hp versions: Removed 3p option (for U5, U6, U7) and 4p (for U13) and updated pointsRequiredToPass from 2 to 1 (for U5, U6, U7 and U13).
Changes for already copied criteria: added new columns for english titles and descriptions (GradingCriterion, GradingCriterionPoint and criterion).
For grading reports, older already copied criteria have been updated to the same format as the new ones, but with the old texts, in both languages.
For opposition reports, the old ones are left as they were, but with the same content copied to the new english columns. New ones will be available in both languages.
SciPro changes:
The criteria in the "Grading report" tab and the grading report PDF will be shown in the project's set language, if no language is set, swedish will be selected for bachelor and english for the rest.
The same applies to the opposition reports, but only for new ones, the old ones will still use the same language that was used when the criteria were copied.
Additions to the Grading report PDF: Added total points. Showing the full history of the reviewer's comments.
Can't throw exceptions in @Transactional methods or the EntityManager gets put in a weird state. Causes the involved entities (FinalSeminar) to be detached which leads to LazyInitializationExceptions.