Project

General

Profile

Actions

Bug #25380

closed

Score enum values are not updated before 8.1~rc1

Added by Clark ANDRIANASOLO 3 months ago. Updated 3 months ago.

Status:
Rejected
Priority:
N/A
Category:
API
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24637: Improvements on score: F score, rework tooltip, improve messagesReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF