[Bug 845928] New: Yast sound module crashes on deleting soundcard config
https://bugzilla.novell.com/show_bug.cgi?id=845928 https://bugzilla.novell.com/show_bug.cgi?id=845928#c0 Summary: Yast sound module crashes on deleting soundcard config Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: langkamp@tomblog.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 The Yast Sound-configuration crashes on deleting the secondary sound card configuration (ATI Technologies Inc.). After reopening sound-config the sound card config is still there. Reproducible: Always Steps to Reproduce: 1.Start Yast Sound-configuration 2.Delete secondary sound card configuration (ATI Technologies Inc.) 3.Confirm to delete 4.Sound-config crashes (window disapears) 5.reopen sound-config - sound card config is still there. Actual Results: Sound card settings still there Expected Results: Sound card settings deleted With the primary intel ICH10 SoundCard this does NOT happen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c1
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c2
Ladislav Slezak ") => true
which results in broken vol_settings list (it is converted to something like
[[["", 0, true]]] which causes crash when constructing the SCR path later:
Client call failed with Invalid path '.audio.alsa.cards.0.channels..volume'
The workaround could we replacing
Ops.is(vol_settings, "list
")
by something like
vol_settings[0].is_a?(Array) && vol_settings[0][0].is_a?(Hash)
but this problem can be present in other Yast modules as well... :-(
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c3
--- Comment #3 from Ladislav Slezak ")
/yast2/library/cwm/src/modules/CWM.rb:230: success = Ops.is(value,
"boolean (string, map
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c4
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c5
--- Comment #5 from Thomas Langkamp
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c6
--- Comment #6 from Thomas Langkamp
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c7
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=845928
https://bugzilla.novell.com/show_bug.cgi?id=845928#c8
--- Comment #8 from Thomas Langkamp
participants (1)
-
bugzilla_noreply@novell.com