[Bug 388810] New: inconsistent problem()/finish() callback calls
https://bugzilla.novell.com/show_bug.cgi?id=388810 Summary: inconsistent problem()/finish() callback calls Product: openSUSE 11.0 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jkupec@novell.com QAContact: dmacvicar@novell.com Found By: --- Take a look at RpmDb.cc at how it calls RemoveResolvableReport and InstallResolvableReport. When a problem occurs while installing a package, problem() is called, followed by finish(). If a problem occurs while removing a package, *only* finish() is called (see zypper-rpm-callbacks.h)! This means application developer actually needs to look at libzypp sources to see how to handle the callbacks!! We should be consistent in this, plus it should be clearly stated when a particular callback is called in the ZYppCallbacks.h docs. So i'm filing this report so that we don't forget to fix it after 11.0. -- 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=388810
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=388810#c1
--- Comment #1 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=388810
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=388810#c2
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=388810
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=388810
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=388810
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=388810#c3
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com