Author: aschnell Date: Mon May 18 16:31:20 2009 New Revision: 57237 URL: http://svn.opensuse.org/viewcvs/yast?rev=57237&view=rev Log: - added error popup (bnc #398001) Modified: trunk/storage/storage/src/modules/Storage.ycp Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Stora... ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Mon May 18 16:31:20 2009 @@ -4341,7 +4341,11 @@ //Set rather than Add, there might be some packs left over //from previous 'MakeProposal' we don't need now //This also covers the case when AddPackagesList returns [] or nil - PackagesProposal::SetResolvables( proposal_ID, `package, pkgs ); + if (!PackagesProposal::SetResolvables(proposal_ID, `package, pkgs)) + { + y2error("PackagesProposal::SetResolvables() for %1 failed", pkgs); + Popup::Error(sformat(_("Add the following resolvables failed: %1"), pkgs)); + } if( Stage::initial() ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org