Bug 1127153
Summary: | [xmlrpc]User can not update case's estimated_time when invoke TestCase.update method. | ||
---|---|---|---|
Product: | [Other] TCMS | Reporter: | yangqiu <qiyang> |
Component: | XMLRPC | Assignee: | Yang Ren <ryang> |
Status: | VERIFIED --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.8.10 | CC: | cqi, leiwang, ryang |
Target Milestone: | --- | ||
Target Release: | --- | ||
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: | --- | Target Upstream Version: | |
Embargoed: |
Description
yangqiu
2014-08-06 09:49:04 UTC
this issue also happened when invoke TestCase.filter,like n.TestCase.filter( {'case_id__in': [293346,293347,293348], 'estimated_time': '00:00:00'})--->Fault: <Fault 400: ["invalid literal for int() with base 10: '00:00:00'"]> n.TestCase.filter( {'case_id__in': [293346,293347,293348], 'estimated_time': '22h33m44s'})--->Fault: <Fault 400: ["invalid literal for int() with base 10: '22h33m44s'"]> n.TestCase.filter( {'case_id__in': [293346,293347,293348], 'estimated_time': '11d22h33m44s'})--->Fault: <Fault 400: ["invalid literal for int() with base 10: '11d22h33m44s'"]> this issue also happened when invoke TestRun.filter Update is okay now, but the update return format(estiamted_time) is seconds. verify on devels server with v3.8.10 TestCase.update()---->pass TestCase.filter()---->fail.500 Fault: <Fault 500:["global name 'values' is not defined"]> verify steps are the same as the description. Invoke n.TestCase.filter({'case_id__in':[293393],'estimated_time__in':['20']}) result:it searched out the cases with the estimated time is 20s But the document writes:the format of the time is "Time". So need to update the document and ensure the final format. verify this issue on v3.8.10-1 on devel.---Pass verify steps are same as comments. |