Bug 1329592

Summary: Show Invalid version format when execute xmlrpc.Bugzilla.extensions
Product: [Community] Bugzilla Reporter: Rony Gong 🔥 <qgong>
Component: AdministrationAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: huiwang, jmcdonal, mtahir, qgong
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rh-bugzilla-5.0.3-rh2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-06 07:49:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rony Gong 🔥 2016-04-22 10:10:48 UTC
Description of problem:
Show Invalid version format when execute xmlrpc.Bugzilla.extensions

Execute:
xmlrpc.Bugzilla.extensions({}) 

=============XMLRPC Execution Results=============

{'fault_code': -32000,
 'fault_string': 'Invalid version format (non-numeric data) at /var/www/html/bugzilla/Bugzilla/WebService/Bugzilla.pm line 98.\n'}


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Muhammad Tahir 2016-04-25 23:32:43 UTC
(In reply to Rony Gong from comment #0)
> Description of problem:
> Show Invalid version format when execute xmlrpc.Bugzilla.extensions
> 
> Execute:
> xmlrpc.Bugzilla.extensions({}) 
> 
> =============XMLRPC Execution Results=============
> 
> {'fault_code': -32000,
>  'fault_string': 'Invalid version format (non-numeric data) at
> /var/www/html/bugzilla/Bugzilla/WebService/Bugzilla.pm line 98.\n'}
> Expected results:
What is the expected result of this command?

Comment 2 Rony Gong 🔥 2016-04-26 02:48:20 UTC
(In reply to Muhammad Tahir from comment #1)
> (In reply to Rony Gong from comment #0)
> > Description of problem:
> > Show Invalid version format when execute xmlrpc.Bugzilla.extensions
> > 
> > Execute:
> > xmlrpc.Bugzilla.extensions({}) 
> > 
> > =============XMLRPC Execution Results=============
> > 
> > {'fault_code': -32000,
> >  'fault_string': 'Invalid version format (non-numeric data) at
> > /var/www/html/bugzilla/Bugzilla/WebService/Bugzilla.pm line 98.\n'}
> > Expected results:
> What is the expected result of this command?

Like this kind of info:
>>> proxy = xmlrpclib.ServerProxy('https://bugzilla.redhat.com/xmlrpc.cgi');
>>> proxy.Bugzilla.extensions()
{'extensions': {'InlineHistory': {'version': '1.5'}, 'Watchers': {'version': '4.4.6028'}, 'Releases': {'version': '4.4.6028'}, 'RedHat': {'version': '4.4.6028'}, 'ExternalBugs': {'version': '4.4.6028'}, 'Browse': {'version': '4.4.6028'}, 'ExtraValues': {'version': '0'}, 'VCS': {'version': '0.1'}, 'MoreBugUrl': {'version': '0'}, 'SubComponents': {'version': '0'}, 'SchemaChange': {'version': '0'}, 'Push': {'version': '1'}, 'RequestWhiner': {'version': '0.01'}, 'PartnerAdmin': {'version': '0.01'}, 'FrontPage': {'version': '4.4.6028'}, 'RuleEngine': {'version': '0.01'}, 'ActivityReport': {'version': '0'}}}

Comment 3 Rony Gong 🔥 2016-05-31 05:06:40 UTC
Tested in QA environment(5.0.3-rh1)
Result: Pass