Bug 152276 - rhn api: list_latest_packages gives package_version as integer instead of string.
rhn api: list_latest_packages gives package_version as integer instead of str...
Status: CLOSED WONTFIX
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Other (Show other bugs)
RHN Stable
All Linux
medium Severity low
: ---
: ---
Assigned To: Mike Orazi
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-27 03:58 EST by Pierre Amadio
Modified: 2008-10-17 16:05 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-17 16:05:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
illustrate the difference between udev and zsh (408 bytes, text/plain)
2005-03-27 04:03 EST, Pierre Amadio
no flags Details

  None (edit)
Description Pierre Amadio 2005-03-27 03:58:28 EST
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):


How reproducible:
Always

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

Additional info:
Comment 1 Pierre Amadio 2005-03-27 04:03:10 EST
Created attachment 112373 [details]
illustrate the difference between udev and zsh

i would have expected the udev version to be '039'
Comment 2 Amanda Carter 2008-10-17 16:05:20 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.