Project

General

Profile

Actions

Bug #3768

closed

Restoring Rules with old fileFormat version does not work

Added by Vincent MEMBRÉ over 11 years ago. Updated over 11 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

Actions

Also available in: Atom PDF