Page MenuHomeVyOS Platform

Migration scripts insert "commit-revisions 20" into system config-management even if commit-revisions option is already present
Closed, ResolvedPublicBUG

Description

This is harmless, but is indicative of some odd logic in the migration script.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Normal priority.May 27 2018, 9:33 AM
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc1); removed VyOS 1.2 Crux.
dmbaturin edited projects, added VyOS 1.2 Crux; removed VyOS 1.2 Crux (VyOS 1.2.0-rc1).
dmbaturin moved this task from Need Triage to In Progress on the VyOS 1.2 Crux board.

The fault was in XorpConfigParser, whose "set" function behaves as if all nodes were multi nodes, so it was adding a value where none was needed (that's on top of the fact that it didn't properly check if it exists).

With the new library, that's no longer an issue.