Bug 831540
Summary: | XMLRPC: TestRun.update() ignores the errata_id field | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> | ||||
Component: | Application | Assignee: | Yang Ren <ryang> | ||||
Status: | VERIFIED --- | QA Contact: | Nobody <nobody> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.7.0 | CC: | junzhang, ohudlick, ryang, vchen | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | 3.8.0 | Flags: | psplicha:
needinfo?
(jianchen) |
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 3.8.0-1 | 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 829348 | ||||||
Attachments: |
|
Created attachment 591415 [details]
Patch fixing the typo
Attaching a simple patch resolving the problem.
Thanks for point out this typo and attachment the patch. This typo was fixed in tcms 3.8.0. (In reply to comment #1) > Created attachment 591415 [details] > Patch fixing the typo > > Attaching a simple patch resolving the problem. Verify 3.8.0-1 on stage -->PASS Verify steps: 1.test TestRun.update() such as, TestRun.update([40847], {'errata_id': 12344}) Actual result: works well now *** Bug 841757 has been marked as a duplicate of this bug. *** |
Description of problem: Update the errata field using TestRun.update() has no effect. This is caused by a copy-and-paste typo in the update() code. Actual results: > [INFO] Updating test run TR#6757 > [DEBUG] {'build': 111, > 'default_tester': 2117, > 'errata_id': 111, <------------------------------------ > 'estimated_time': '00:00:00', > 'manager': 2117, > 'notes': 'Testing notes', > 'product': 61, > 'status': 1, > 'summary': 'Tessst Run One'} > [INFO] Fetching test run TR#6757 > [DEBUG] Initializing test run TR#6757 > [DEBUG] {'build': 'RHEL5.3-Server-20081211.0 : x86_64', > 'build_id': 111, > 'case_run_status': '2:2,3:1,6:1,8:1', > 'cc': [], > 'default_tester': 'psplicha', > 'default_tester_id': 2117, > 'env_value': [], > 'environment_id': 0, > 'errata_id': None, <----------------------------------- > 'estimated_time': '00:00:00', > 'manager': 'psplicha', > 'manager_id': 2117, > 'notes': 'Testing notes', > 'plan': 'Tessst plan', > 'plan_id': 289, > 'plan_text_version': 1, > 'product_version': '5.7', > 'run_id': 6757, > 'start_date': '2009-12-15 16:33:09', > 'stop_date': '2012-06-13 17:02:07', > 'summary': 'Tessst Run One', > 'tag': []}