Two issues in error passing from the bindings libvyosconfig to the Python module configtree.py:
(1) the binding for delete_value does not catch the error of a non-existent path, and hence can not pass that information in a non-zero return value
(2) the Python module functions delete and delete_value do not raise error on non-zero return value of binding, as other functions in that module do.
Description
Description
Details
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)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | BUG | jestabro | T5251 Uncaught errors for functions delete/delete_value in Python module configtree.py | ||
Resolved | BUG | jestabro | T5259 Openconnect cannot pass migration 1-to-2 |