You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
The kdb editor seems to delete keys, when it is called on cascading key-names.
In my opinion it should either not be possible to execute the editor on cascading key-names or this feature should be documented.
Describe what you wanted to do
kdb set /test/a 42
#> Using name user/test/a#> Create a new key user/test/a with string 42
kdb editor -v /test/a ni
## ;Ni1## ; Generated by Nickel Plugin using Elektra (see libelektra.org).#### user = 42## replace 42 by something else:### ;Ni1## ; Generated by Nickel Plugin using Elektra (see libelektra.org).#### user = 1## ...and save it:##> filename set to /tmp/elektra-test.y9mbjl#> running editor with /tmp/elektra-test.y9mbjl#> 1 keys in the result#> 4294967295 keys were equal#> 2 keys were resolved#> The merged keyset with strategy preserve is:#> /test/a/user#> about to write result keys /test/a/user#> #> successful, cleaning up /tmp/elektra-test.y9mbjl
kdb get /test/a
#> Did not find key
Describe what you expected
It was not clear what to expect, because it is not really documented when the editor is used on cascading keys.
Although judging from the documentation of kdb editor
-N, --namespace=ns
Specify the namespace to use when writing cascading keys (validation strategy only). See below in
KDB.
my guess is, that just the keys in the default namespace should be edited.
System Information
Elektra Version: master
The text was updated successfully, but these errors were encountered:
I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖
I closed this issue now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue.
Thank you for your contributions 💖
The kdb editor seems to delete keys, when it is called on cascading key-names.
In my opinion it should either not be possible to execute the editor on cascading key-names or this feature should be documented.
Describe what you wanted to do
Describe what you expected
It was not clear what to expect, because it is not really documented when the editor is used on cascading keys.
Although judging from the documentation of
kdb editor
my guess is, that just the keys in the default namespace should be edited.
System Information
The text was updated successfully, but these errors were encountered: