Page MenuHomeVyOS Platform

Error incorrectly raised in revised multi_to_list when tag node value name == tag node name
Closed, ResolvedPublicBUG

Description

There is a naive check in the revised internal function multi_to_list that can fail in case of a tag node value with the same name as that of the tag node, for example:
'pki ca ca ...'

The check is in fact unneeded in this case, as well as being incorrect, and will be removed.
Similarly, in the case of the internal function relative_defaults, the logic should be inverted to check for a well-defined path before a check on redundant entries in a path.

Both cases are simple fixes for a naive error.

Details

Difficulty level
Easy (less than an hour)
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 triaged this task as Urgent! priority.Jul 9 2023, 7:49 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.