[yast-commit] r60468 - in /trunk/autoinstallation: package/autoyast2.changes src/dialogs/ask.ycp
![](https://seccdn.libravatar.org/avatar/2f8a5b55b74eb727b5ee47fed82a1454.jpg?s=120&d=mm&r=g)
Author: ug Date: Thu Jan 21 15:51:45 2010 New Revision: 60468 URL: http://svn.opensuse.org/viewcvs/yast?rev=60468&view=rev Log: passing a boolean to an ask-script failed (bnc#572166) Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/dialogs/ask.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=60468&r1=60467&r2=60468&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu Jan 21 15:51:45 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jan 21 15:50:31 CET 2010 - ug@suse.de + +- passing a boolean to an ask-script failed (bnc#572166) + +------------------------------------------------------------------- Tue Jan 19 13:26:19 CET 2010 - ug@suse.de - bootloader docu rewritten - thanx to Jozef Uhliarik for Modified: trunk/autoinstallation/src/dialogs/ask.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/dialogs/ask.ycp?rev=60468&r1=60467&r2=60468&view=diff ============================================================================== --- trunk/autoinstallation/src/dialogs/ask.ycp (original) +++ trunk/autoinstallation/src/dialogs/ask.ycp Thu Jan 21 15:51:45 2010 @@ -217,6 +217,8 @@ any val = UI::QueryWidget(`id(entry_id), `Value); if( ask["type"]:"string" == "integer" ) { val = tointeger((string)val); + } else if( ask["type"]:"string" == "boolean" ) { + val = ( (boolean)val ? "true" : "false" ); } if( ask["password"]:false == true ) { string pass2 = (string)UI::QueryWidget(`id(`pass2), `Value); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn.opensuse.org