libelektra
libelektra copied to clipboard
removing an entry in array causes removing the whole array
I created an array with the following commands:
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/loc "Weatherstation"
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/quality "++"
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/bell 500
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/alarm 600
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/min 0
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/avg 25
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/max 100
kdb set user:/sw/libelektra/opensesame/#0/current/sensors/#0/pin "Shield-Lime2 uext2"
Then I tried to remove user:/sw/libelektra/opensesame/#0/current/sensors/#0/loc
but it deleted the whole array. And now I can't even create a new array like in issue #4987.
kdb rm user:/sw/libelektra/opensesame/#0/current/sensors/#0/loc
I can't reproduce this issue because I can't create an array anymore.