Page MenuHomeVyOS Platform

Config edit level affecting the show_config() function
Closed, ResolvedPublicBUG

Description

There are three places, where used show_config() function. This function should return the config at a given path.
But commands generated by this function looks like:

/bin/cli-shell-api showConfig --show-active-only path
/bin/cli-shell-api showConfig --show-working-only path

Therefore, it works properly only outside configuration sessions or when the edit level is root. In other cases, it uses the current edit level as root, so the output is not as expected.
We should use the --show-ignore-edit option with this command to fix this.

Details

Version
1.3-rolling-202003180217
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 8:00 AM
erkin removed a subscriber: Global Notifications.
natali-rs1985 changed the task status from Open to In progress.Oct 30 2024, 1:04 PM
natali-rs1985 claimed this task.