Bugzilla – Bug 430848
yast2 sysconfig xmlhelp returns empty values
Last modified: 2009-01-13 14:04:20 UTC
There is an empty "command" <!DOCTYPE commandline SYSTEM "/usr/share/YaST2/schema/commandline.dtd"> <commandline xmlns:config="http://www.suse.com/1.0/configns"> <commands config:type="list"> <command> <help>Set empty value ("")</help> <name>clear</name> <options config:type="list"> <option> <help>Selected variable</help> <name>variable</name> <type>string</type> </option> </options> </command> <command> <help>Show details about selected variable</help> <name>details</name> <options config:type="list"> <option> <help>Selected variable</help> <name>variable</name> <type>string</type> </option> </options> </command> <command> <help>Display configuration summary</help> <name>list</name> <options config:type="list"> <option> <help>Display all variables</help> <name>all</name> </option> </options> </command> <command/> </commands> <module>sysconfig</module> </commandline>
Actually the problem was in CommandLine.ycp - value of "help" key in the command line map can be also a list<string> which describes a multi line help text. Unfortunately 'xmlhelp' command supported string type only. The empty command is the result of the type error. The empty command is not redundant, in fact there is one command missing in the output. Raising the severity because more yast modules might be affected. The fix has been submitted to SVN trunk and to Code11 branch.
Submitted in yast2-2.17.61 (SLE11)
Submitted in yast2-2.18.0. (openSUSE-11.2)