Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
How to activate the boolean plugin in a specification file #2451
Steps to Reproduce the Problem
The boolean plugin does not correctly convert to a canonicalizes value
 mountpoint = test-spec.conf infos/plugin = ini boolean [/setting/enabled] check/type = boolean
kdb mount <path>/test.ini spec/test ni kdb spec-mount /test kdb set /test/setting/enabled true #> Using name user/test/setting/enabled #> The command kdb set failed while accessing the key database with the info: #> Sorry, the error (#52) occurred ;( #> Description: could not type check value of key #> Reason: The type boolean failed to match for user/test/setting/enabled with string: true #> Ingroup: plugin #> Module: type #> At: ..../src/plugins/type/type.cpp:31 #> Mountpoint: user/test #> Configfile: .../user/test-spec.conf.11243:1551466614.338725.tmp
true gets accepted for the type plugin
true gets rejected
Thank you for reporting this problem!
Please ask questions in separate issues, then they are easier to find in future.
Please also always add the issues you create to LCDproc and assign yourself if you will work on it.
Now to the issue itself:
I think the problem here is that the type checker checks before the boolean plugin canonicalizes. It should be easy to fix with
The plugin is available though (verified via