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

Globbing in Metadata does not show all relevant metadata of subsetting until a value is set #2448

Open
Piankero opened this Issue Mar 1, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@Piankero
Copy link
Contributor

Piankero commented Mar 1, 2019

Steps to Reproduce the Problem

Globbed Metadata are not visible until a value is set
Mount the specification with the following content:

[]
mountpoint = test-spec.conf
infos/plugin = ini

[/setting/_/]
description = "My super duper description"

[/setting/enabled]
check/type = boolean
default = false
kdb mount <path>/test.ini spec/test ni                     
kdb spec-mount /test                                                    
kdb lsmeta /test/setting/enabled                                        
#> check/type
#> default
kdb set /test/setting/enabled true                                   
#> Using name user/test/setting/enabled
#> Create a new key user/test/setting/enabled with string "true"
kdb lsmeta /test/setting/enabled                                      
#> check/type
#> default
#> description

Expected Result

The description metadata is available before setting a concrete value

Actual Result

It is not

System Information

  • Elektra Version: master (0.8.26)
cat /etc/os-release
#> NAME="Linux Mint"
#> VERSION="18.2 (Sonya)"
#> ID=linuxmint
#> ID_LIKE=ubuntu
#> PRETTY_NAME="Linux Mint 18.2"
#> VERSION_ID="18.2"
#> HOME_URL="http://www.linuxmint.com/"
#> SUPPORT_URL="http://forums.linuxmint.com/"
#> BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
#> VERSION_CODENAME=sonya
#> UBUNTU_CODENAME=xenial
@markus2330

This comment has been minimized.

Copy link
Contributor

markus2330 commented Mar 1, 2019

Thank you for reporting this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.