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

[FLOSS] file plugin fails silently on meta-set #4587

Closed
Bujuhu opened this issue Oct 19, 2022 · 2 comments
Closed

[FLOSS] file plugin fails silently on meta-set #4587

Bujuhu opened this issue Oct 19, 2022 · 2 comments

Comments

@Bujuhu
Copy link
Contributor

Bujuhu commented Oct 19, 2022

As discussed in #4555

Steps to Reproduce the Problem

$ sudo kdb mount "$PWD/src/plugins/file/file/singleline" system:/tests/file file info=
# RET: 0
$ sudo kdb meta-set system:/tests/file awdf info
# RET: 0  
$ sudo kdb meta-get system:/tests/file awdf
Metakey not found
# RET: 2

Expected Result

Should print an error on kdb meta-set system:/tests/file awdf info and return a non 0 exit code

System Information

Operating System:
Arch Linux, Kernel 5.19.13-arch1-1

kdb and plugins version

# kdb --version
KDB_VERSION: 0.9.11
SO_VERSION: 5

Relevant Source Code

teh file plugin ignores all metadata while setting keys.

int elektraFileSet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned ELEKTRA_UNUSED, Key * parentKey ELEKTRA_UNUSED)

@Bujuhu Bujuhu changed the title [Floss H1] file plugin fails silently on meta-set [Floss] file plugin fails silently on meta-set Oct 19, 2022
@Bujuhu Bujuhu changed the title [Floss] file plugin fails silently on meta-set [FLOSS] file plugin fails silently on meta-set Oct 19, 2022
@github-actions
Copy link

I mark this 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 by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@github-actions github-actions bot added the stale label Oct 20, 2023
Copy link

github-actions bot commented Nov 3, 2023

I closed this 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 💖

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant