Red Hat Bugzilla – Bug 152276
rhn api: list_latest_packages gives package_version as integer instead of string.
Last modified: 2008-10-17 16:05:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1
Description of problem:
rhn api list_latest_packages returns inapprorpiate data type for packages_version https://rhn.redhat.com/rpc/api/channel/software/list_latest_packages/
If the package_version of a given rpm may be interpreted as a string, it returns a string instead of an integer.
This may be problematic for such packages as the current udev when one expect '039' as version and not 39.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ask for list_latest_packages for a given channel
2. display all 'package_version'
Actual Results: you get a mix of integer and strings
Expected Results: only strings
Created attachment 112373 [details]
illustrate the difference between udev and zsh
i would have expected the udev version to be '039'
This bug has been closed due to inactivity. Please open a new bug with specific details if this problem is still occurring or if an enhancement is needed.