[wpkg-users] [Bug 170] New: An "uninstall" type check with version comparison succeeds if the uninstall entry is missing

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Aug 10 12:28:14 CEST 2009


http://bugzilla.wpkg.org/show_bug.cgi?id=170

           Summary: An "uninstall" type check with version comparison
                    succeeds if the uninstall entry is missing
           Product: WPKG
           Version: other
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: malte at malte.homeip.net
         QAContact: wpkg-users at lists.wpkg.org


Hi,

a check like <check type='uninstall' condition='versiongreaterorequal'
path='Some Application' value='1.0'/>

will only fail if a version of "Some Application" less than 1.0 is installed,
but it will succeed if the program is not installed at all because it hits
this:

// it looks like all entries evaluated true
return true;

on line 977 without there actually being an entry in uninstallLocations.  Is
this behaviour intended?

Regards,
Malte

-- 
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