[wpkg-users] [Bug 150] New: Removal of dependancies fails; missing return value on removePackage()
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Tue Apr 7 23:03:49 CEST 2009
http://bugzilla.wpkg.org/show_bug.cgi?id=150
Summary: Removal of dependancies fails; missing return value on
removePackage()
Product: WPKG
Version: 1.1.x-M
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: parasytic at gmail.com
QAContact: wpkg-users at lists.wpkg.org
wpkg.js 1.1.0-M6
* Two packages installed, call them package_a and package_b
* Where package_b contains <depends package-id="package_a">
* Run wpkg.js from command line with /remove:package_a
Under these circumstances, removing package_a wants to first remove package_b.
Removal of package_b is determined as failed, because the removePackage()
function does not return a value (thus, it returns undefined).
I was able to fix this by adding the line:
return success;
At the end of the removePackage() function.
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list