Actions
Bug #3768
closedRestoring Rules with old fileFormat version does not work
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Maintenance
Target version:
Pull Request:
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