Bug ID 1023240
Summary ask dialog selection returns label instead of value when type=symbol
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component AutoYaST
Assignee autoyast-maintainers@suse.de
Reporter luizluca@tre-sc.jus.br
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hello,

I configured a simple ask combo like:

<ask>
        <dialog config:type="integer">2</dialog>
        <element config:type="integer">2</element>
        <title>Configura��o do Armazenamento</title>
        <help/>
        <stage>initial</stage>
        <frametitle>Disco SSD (Solid State Disk)</frametitle>
        <question>Qual disco &amp;SSD ser� utilizado para sistema e
cache?</question>
        <selection config:type="list">
            <entry>
                <value>sdb</value>
                <label>sdb: ATA  VBOX HARDDISK (29.3G)</label>
            </entry>
        </selection>
        <default>sdb</default>
        <pathlist config:type="list">
          <path>partitioning,0,device</path>
        </pathlist>
      </ask>

If I add <type>symbol</type>, autoyast writes the label contents into
partitioning,0,device. If I remove it, it works. According to what I understood
from docs, type=symbol is default when a select is present.

Is this expected?


You are receiving this mail because: