Page MenuHomeVyOS Platform

Fix missed case in multi_to_list conversion
Closed, DuplicatePublicBUG

Description

T3234 added a fix for multi_to_list conversion, which would fail in the case that an interface-definition file had multiple sub-elements at the same path --- this can occur as a result of merging definitions from include files. The organization of XML interface-definitions by include files of common definitions is indispensable and should be taken into account when parsing a global 'reference dictionary' of XML definitions. The details of the problem are documented in T3234. Unfortunately, the fix provided there was limited to multiple sub-elements sharing a single path element; extend the fix here to those sharing a path of length > 1.

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro changed the task status from Open to In progress.Apr 25 2023, 5:15 AM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro renamed this task from Fix misssed case in multi_to_list conversion to Fix missed case in multi_to_list conversion.Apr 25 2023, 1:43 PM