Actions
Bug #25380
closedScore enum values are not updated before 8.1~rc1
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
It bothers me each time
User visibility:
First impressions of Rudder
Effort required:
Very Small
Priority:
140
Name check:
To do
Fix check:
To do
Regression:
No
Description
In #24637 there have been changes to add the F
and X
values to the score enum type in the Postgres database, but the change were not really compatible from 8.1~beta to 8.1~rc up to now i.e. 8.2.
So some requests will not work when adding those values in a column, for example :
ERROR score - An error occurred while treating score event of type 'class com.normation.rudder.score.ComplianceScoreEvent': SystemError: error when inserting global score for node 'root''; cause was: org.postgresql.util.PSQLException: ERROR: invalid input value for enum score: "F" ->
We need to support adding F
and X
by doing a migration during boot.
Actions