Bug 1130903

Summary: [xmlrpc]User can not filter case via estimated_time when invoke TestCase.filter_count method.
Product: [Other] TCMS Reporter: yangqiu <qiyang>
Component: XMLRPCAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8.10CC: cqi, jzhao, leiwang, ryang
Target Milestone: ---   
Target Release: 3.8.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description yangqiu 2014-08-18 07:34:51 UTC
Description of problem:
as summary.

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

How reproducible:
100%

Steps to Reproduce:
1.There is a case with estimated_time '11:22:33'.

2.invoke n.TestCase.filter_count( {'case_id__in': [293486], 'estimated_time': '11:22:33'})--->Fault: <Fault 400: ["invalid literal for int() with base 10: '11:22:33'"]>

3.invoke n.TestCase.filter_count( {'case_id__in': [293486], 'estimated_time': '11h22m33s'})--->Fault: <Fault 400: ["invalid literal for int() with base 10: '11h22m33s'"]>


Actual results:


Expected results:
Both step 2 and step 3, system can filter the case.

Additional info:

Comment 1 Tingting Zhao 2014-08-19 03:18:29 UTC
verify on devel server with nitrate 3.8.10-1========>pass
verify steps are the same as the description.