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.