Project

General

Profile

Actions

Bug #3768

closed

Restoring Rules with old fileFormat version does not work

Bug #3768: Restoring Rules with old fileFormat version does not work

Added by Vincent MEMBRÉ over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Restoring and archive starts by getting all xml files in /var/rudder/configuration-repository.

If one of those xml file has an old fileFormat, rudder migrates it to the latest version.

But this is not working for Rules : The migration is done, but it still uses the old wml file to unserialise

 for {
   ruleXml <- xmlMigration.getUpToDateXml(xml)
   rule    <- ruleUnserialisation.unserialise(xml)
 } yield {
   rule
 }

ruleXML should be used instead of rule

Updated by Vincent MEMBRÉ over 12 years ago Actions #1

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/272

Updated by François ARMAND over 12 years ago Actions #2

  • Status changed from Pending technical review to Pending release

It was merged, but the commit message was erroneous and should have been "fixed"

Updated by Nicolas PERRON over 12 years ago Actions #3

  • Subject changed from restoring Rule with old fileFormat is not working to Restoring Rules with old fileFormat version does not work

Updated by Nicolas PERRON over 12 years ago Actions #4

  • Status changed from Pending release to Released

Updated by Nicolas PERRON over 12 years ago Actions #5

This bug has been fixed in Rudder 2.4.7, which was released today.
Check out:

Actions

Also available in: PDF Atom