Bug 465833 - api.getVersion return value includes string "Java"
Summary: api.getVersion return value includes string "Java"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 0.2
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Brad Buckingham
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2008-10-06 16:28 UTC by Rob James
Modified: 2009-02-24 19:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-24 19:08:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Rob James 2008-10-06 16:28:42 UTC
The return value of api.getVersion contains the string "Java" (e.g. "0.2 Java") which was apparently historically to be able to tell the difference between the old style (Perl?) and new style stuff. Since this is apparently ancient history it should probably be removed (and it's not documented in the api docs either).

Comment 1 Jesus M. Rodriguez 2009-01-17 01:17:57 UTC
Verify that getVersion no longer returns "Java", and close the bug.

Comment 2 Jesus M. Rodriguez 2009-02-24 19:08:59 UTC
api.getVersion() returns the value of 'web.apiversion' as defined in
/etc/rhn/defaults/rhn_web.conf

See bug #472346 for more information.


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