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

INI: Mathcheck Plugin Does not Work #1697

Closed
sanssecours opened this issue Nov 4, 2017 · 2 comments
Closed

INI: Mathcheck Plugin Does not Work #1697

sanssecours opened this issue Nov 4, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@sanssecours
Copy link
Member

Description

It looks like the mathcheck does not work correctly if we use INI as storage plugin.

Steps to Reproduce the Problem

kdb mount mathcheck.esr user/tmount/mathcheck mathcheck ini

kdb set user/tmount/mathcheck/check/test0/points 5.9
kdb set user/tmount/mathcheck/check/test1/points 4.5

kdb set user/tmount/mathcheck/check/gp
kdb setmeta user/tmount/mathcheck/check/gp check/math ":= + ../test0/points ../test1/points"

kdb get user/tmount/mathcheck/check/gp
# STDOUT: 10.4

Expected Result

The command kdb get prints 10.4.

Actual Result

The command kdb get prints nothing.

Additional Information

Everything works fine if we use the ni plugin instead of ini:

kdb mount mathcheck.esr user/tmount/mathcheck mathcheck ni

.

  • Elektra Version: master
@sanssecours sanssecours added the bug label Nov 4, 2017
@sanssecours sanssecours added this to the 0.8.21 milestone Nov 4, 2017
@sanssecours sanssecours changed the title INI: Plugins Does not Work INI: Mathcheck Plugin Does not Work Nov 4, 2017
@markus2330
Copy link
Contributor

Thank you for reporting! Can you please also post the resulting ini file? Is the meta data properly stored in the file?

@sanssecours
Copy link
Member Author

Can you please also post the resulting ini file?

[check/test0]
points = 5.9
[check/test1]
points = 4.5
#@META check/math = := + ../test0/points ../test1/points
[check/gp]

Is the meta data properly stored in the file?

Yes, as far as I can tell. The command kdb getmeta user/tmount/mathcheck/check/gp check/math returns

:= + ../test0/points ../test1/points

.

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

No branches or pull requests

3 participants