Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing an entry in array causes removing the whole array #4988

Open
fel115 opened this issue Aug 9, 2023 · 0 comments
Open

removing an entry in array causes removing the whole array #4988

fel115 opened this issue Aug 9, 2023 · 0 comments

Comments

@fel115
Copy link

fel115 commented Aug 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant