[Bug 393011] New: An add-on product is not registered, AddOnProduct:: src_id is nil
https://bugzilla.novell.com/show_bug.cgi?id=393011 Summary: An add-on product is not registered, AddOnProduct::src_id is nil Product: openSUSE 11.0 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: YaST2 AssignedTo: locilka@novell.com ReportedBy: lslezak@novell.com QAContact: jsrain@novell.com Found By: --- AddOnProduct::src_id is nil after adding a new repository. It seems to be caused by moving some code to repositories_include.ycp. This patch Index: modules/AddOnProduct.ycp =================================================================== --- modules/AddOnProduct.ycp (revision 47715) +++ modules/AddOnProduct.ycp (working copy) @@ -530,6 +530,8 @@ ret = DoInstall_WithControlFile (control); } + y2internal("Register source: ret: %1, src_id: %2", ret, src_id); + if (ret != nil) { // registers Add-On product if requested RegisterAddOnProduct (src_id); logs 2008-05-21 11:33:28 <5> muffin(25185) [YCP] AddOnProduct.ycp:533 Register source: ret: `register, src_id: nil Because of nil value there might be also other problems, not just missing registration call... -- 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=393011
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393011#c1
--- Comment #1 from Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=393011
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393011#c2
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=393011
User locilka@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=393011#c3
Lukas Ocilka
participants (1)
-
bugzilla_noreply@novell.com