![](https://seccdn.libravatar.org/avatar/2f8a5b55b74eb727b5ee47fed82a1454.jpg?s=120&d=mm&r=g)
Author: ug Date: Thu Jan 21 15:52:27 2010 New Revision: 60469 URL: http://svn.opensuse.org/viewcvs/yast?rev=60469&view=rev Log: passing a boolean to an ask-script failed (bnc#572166) Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/dialogs/ask.ycp Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes?rev=60469&r1=60468&r2=60469&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/autoinstallation/package/autoyast2.changes Thu Jan 21 15:52:27 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jan 21 15:52:15 CET 2010 - ug@suse.de + +- passing a boolean to an ask-script failed (bnc#572166) + +------------------------------------------------------------------- Thu Jan 7 10:36:45 CET 2010 - ug@suse.de - 2.17.32 Modified: branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/dialogs/ask.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/dialogs/ask.ycp?rev=60469&r1=60468&r2=60469&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/dialogs/ask.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/autoinstallation/src/dialogs/ask.ycp Thu Jan 21 15:52:27 2010 @@ -185,6 +185,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