Describe the bug
In principle assessment (and additional assessment), when loading the modal dialog for a principle, if the rating is currently null, the rating should be set to 0. This prevents confusion as a null appears like a 0 on the sliding scale, but is not saved into the database.
When opening the dialog for the first time, the null rating is correctly set to 0.
To Reproduce
Start the main principle assessment for an initiative.
Click on any principle (except the last one). The rating will be set to 0 if it was null before.
Click "save and next". The principle rating is now not set to 0 if it was null before.
Expected behavior
The rating should always be set to 0 if it was null.
Describe the bug In principle assessment (and additional assessment), when loading the modal dialog for a principle, if the rating is currently null, the rating should be set to 0. This prevents confusion as a null appears like a 0 on the sliding scale, but is not saved into the database.
When opening the dialog for the first time, the null rating is correctly set to 0.
To Reproduce
Expected behavior The rating should always be set to 0 if it was null.