Actions
Bug #6001
closedChange request are not migrated to fileformat 6
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
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).
Actions