Bug 430848 - yast2 sysconfig xmlhelp returns empty values
Summary: yast2 sysconfig xmlhelp returns empty values
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Factory
Hardware: Other Other
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on: 269891
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-30 07:57 UTC by Stefan Schubert
Modified: 2009-01-13 14:04 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schubert 2008-09-30 07:57:00 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>
Comment 1 Ladislav Slezák 2008-12-23 07:58:03 UTC
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.
Comment 2 Ladislav Slezák 2009-01-05 13:30:00 UTC
Submitted in yast2-2.17.61 (SLE11)
Comment 3 Ladislav Slezák 2009-01-13 14:04:20 UTC
Submitted in yast2-2.18.0. (openSUSE-11.2)