Bug 1131920 - [XML-RPC]The length limit of bug id in xmlrpc is inconsistent with the web page.
Summary: [XML-RPC]The length limit of bug id in xmlrpc is inconsistent with the web page.
Keywords:
Status: VERIFIED
Alias: None
Product: TCMS
Classification: Other
Component: XMLRPC
Version: 3.8.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.8.11
Assignee: Yang Ren
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-20 09:57 UTC by Tingting Zhao
Modified: 2018-07-04 21:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Tingting Zhao 2014-08-20 09:57:56 UTC
Description of problem:
The length limit of bug id in xmlrpc is inconsistent with the web page.
in xmlrpc:10
in web page:7

Version-Release number of selected component (if applicable):
v3.8.10-1 on qa server.

How reproducible:
100%

Steps to Reproduce:
1.n.TestCase.attach_bug({'case_id':390010,'bug_id':1234567890,'bug_system_id':1})
The length is 10
2.n.TestCase.attach_bug({'case_id':390010,'bug_id':12345678901,'bug_system_id':1})
The length is 11


Actual results:
step1.the bug 1234567890 was added into the case.
step2: OverflowError: long int exceeds XML-RPC limits

Expected results:
both of these two bugs should not be added into the case,because the length on the web page is limited as 7.

Additional info:

Comment 1 Tingting Zhao 2014-08-20 10:00:42 UTC
Also i can add bug like this:
 n.TestCase.attach_bug({'case_id': 390009,'bug_id':[111,222,333],'bug_system_id':1})
And the bug was added successfully.

Comment 2 Xu Lei 2014-08-21 06:49:44 UTC
alter table test_case_bug_system, add new column named 'validate_reg_exp' to store bugzilla and jira ID parttern.

Comment 3 Tingting Zhao 2014-09-04 09:58:13 UTC
verify on devel server with v3.8.11-1 ------->pass 
versify steps are the same as the description.


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