Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

gopts: check/ plugins perform no validation during kdbGet() #4049

Closed
qwepoizt opened this issue Sep 15, 2021 · 3 comments
Closed

gopts: check/ plugins perform no validation during kdbGet() #4049

qwepoizt opened this issue Sep 15, 2021 · 3 comments
Assignees

Comments

@qwepoizt
Copy link
Contributor

Forked from #4029.

This is "Class 3: validation errors reported by check/* plugins".

Steps to Reproduce the Problem

see #4029

Expected Result

see #4029

Actual Result

see #4029

System Information

see #4029

@qwepoizt
Copy link
Contributor Author

Summary of this issue from #4029:

  • The check/* plugins (e.g. range, validation) only perform their validation during elektraPLUGINNAMESet() and not during elektraPLUGINNAMEGet(). The ...Get() functions pass the unchanged KeySet through.
  • Some check/* plugins (e.g. check/validation) are currently missing the postgetstorage placement. In order for their elektraPLUGINNAMEGet() to actually be called during kdbGet(), we'll have to add that placement.

@qwepoizt
Copy link
Contributor Author

See #4053 for further discussion.

@qwepoizt
Copy link
Contributor Author

Closing this as the discussion has moved to #4053 and a new issue for all plugins has been opened in #4059.

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

No branches or pull requests

1 participant