Red Hat Bugzilla – Bug 450019
System.isNvreInstalled API call broken if epoch is not included
Last modified: 2008-09-25 09:03:30 EDT
Description of problem:
The System.isNvreInstalled rpc api method has two forms listed in the
documentation: you can specify the package by either NVR or NVRE (name, version,
release, epoch). If you specify a package that has an epoch (most don't) and try
to use the epochless isNvreInstalled version it will always return false, even
if the package is installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run attached perl script
Indicating that the first query returned false while the second returned true.
They should both return true.
Created attachment 308388 [details]
simple test for api method
Fixed in r118818.
verified in dev
verified in qa