https://bugzilla.novell.com/show_bug.cgi?id=349533
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=349533#c10
Lukas Ocilka
if a parameter is missing the default value from the package manager (libzypp) is used <<
Because the openSUSE control file doesn't define any keep_installed_patches option, Update YCP module sends 'nil' as a decision what to do with them and update_proposal.ycp just omits that key in a map if it is nil. An empty (undefined) key reaches the PkgUpdateAll() function. Then, the default value from libzypp should be used. So, either libzypp default values are incorrect or pkg-bindings don't evaluate the empty map/key correctly. If you are in doubts, please see http://svn.opensuse.org/svn/yast/trunk/update/src/modules/Update.ycp function KeepInstalledPatches http://svn.opensuse.org/svn/yast/trunk/update/src/clients/update_proposal.yc... function GetUpdateConf Pkg::PkgUpdateAll (GetUpdateConf()); http://svn.opensuse.org/svn/yast/trunk/pkg-bindings/src/Package.cc function PkgUpdateAll Lslezak, please, check how pkg-bindings evaluate the empty key (undefined), maybe it's a bug (wrong value) in libzypp. PS: Jonathon, bug #238488 has been entered by another Novell partner, which is probably the reason why isn't accessible for you :( -- 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.