Project

General

Profile

Actions

Bug #6001

closed

Change request are not migrated to fileformat 6

Added by François ARMAND over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If change requests were created with a Rudder version before 3.0, when we try to read them with Rudder 3.0 we are getting:

[2014-12-15 14:16:33] ERROR com.normation.rudder.repository.jdbc.ChangeRequestsMapper - Error when trying to get the content of the change request 2 : Failure(Bad fileFormat (expecting 6): <changeRequest fileFormat="5"><groups/><directives/><rules>...</rules><globalParameters/></changeRequest>,Empty,Empty)

There seems to be missing the part about change request in /rudder-core/src/main/scala/com/normation/rudder/migration/XmlFileFormatMigration_5_6.scala (look for ChangeRequestsMigration_4_5 in /rudder-core/src/main/scala/com/normation/rudder/migration/XmlFileFormatMigration_4_5.scala for comparison).


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #9202: Clean old fileFormat migration and fileFormat numbering policyReleasedVincent MEMBRÉ2016-10-03Actions
Actions

Also available in: Atom PDF