Cannot change value using sr_apply_changes
awesomenode opened this issue · comments
Hi,
I met an issue when a value is stuck in running datastore and cannot change it anymore using sr_apply_changes
.
I attached an example to reproduce it:
reprod.zip
$ ./reprod
setting leaf1 to true
value: true
setting leaf1 to false
value: true
Here the value of leaf1 remained true and changing to false has no effect.
libyang version: 2.2.10
sysrepo version: 2.2.171
Note that on older version (sysrepo v2.2.135/libyang v2.1.140) the issue was not present.
Thank you in advance!
Quite a serious bug after some optimizations, not sure how it slipped through the tests. Should be fixed, though.
Works as expected now, thank you for the quick fix!