Bug 740558
Summary: | TestPlan.update() ignores the is_active flag | ||
---|---|---|---|
Product: | [Other] TCMS | Reporter: | Petr Šplíchal <psplicha> |
Component: | Application | Assignee: | jianchen <jianchen> |
Status: | CLOSED DUPLICATE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.5 | CC: | azelinka, ctang, jianchen, junzhang, llim, nli, ohudlick, ryang, vchen, xchu, yawli |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 3.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.8.0-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-31 02:37:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Šplíchal
2011-09-22 13:07:40 UTC
This is now covered by Nitrate (high-level API) test suite: https://wiki.test.redhat.com/BaseOs/Projects/PythonNitrate Test read & write access to the 'active' flag ... [INFO] Fetching test plan TP#289 [INFO] Contacting server https://tcms-stage.englab.bne.redhat.com/xmlrpc/ [DEBUG] Initializing test plan TP#289 [DEBUG] {'attachment': [], 'author': 'psplicha', 'author_id': 2117, 'case': [12516, 35267, 46490, 51362, 35269], 'component': [], 'create_date': '2008-10-22 09:08:38', 'default_product_version': '6.1', 'env_group': [], 'extra_link': '', 'is_active': True, <--------------------------------------- 'name': 'Tessst plan', 'owner': 'psplicha', 'owner_id': 2117, 'parent': 'Tessst', 'parent_id': 1329, 'plan_id': 289, 'product': 'Red Hat Enterprise Linux 6', 'product_id': 60, 'tag': [973, 1379, 1380, 1381], 'type': 'Function', 'type_id': 3} [INFO] Updating test plan TP#289 [DEBUG] {'default_product_version': 995, 'is_active': False, <--------------------------------------- 'name': 'Tessst plan', 'parent': 1329, 'product': 60, 'type': 3} [INFO] Fetching test plan TP#289 [DEBUG] Initializing test plan TP#289 [DEBUG] {'attachment': [], 'author': 'psplicha', 'author_id': 2117, 'case': [12516, 35267, 46490, 51362, 35269], 'component': [], 'create_date': '2008-10-22 09:08:38', 'default_product_version': '6.1', 'env_group': [], 'extra_link': '', 'is_active': True, <--------------------------------------- 'name': 'Tessst plan', 'owner': 'psplicha', 'owner_id': 2117, 'parent': 'Tessst', 'parent_id': 1329, 'plan_id': 289, 'product': 'Red Hat Enterprise Linux 6', 'product_id': 60, 'tag': [973, 1379, 1380, 1381], 'type': 'Function', 'type_id': 3} FAIL It's been a couple of months already. Any ETA for fixing this bug? in 3.8.0, will implement it. (In reply to comment #2) > It's been a couple of months already. Any ETA for fixing this bug? TestPlan.update() is_active accept 0 or 1, 0 --> False and 1 --> True. TestPlan.update(3551, {'is_active': 1}) is worked in stage server. I will update xmlrpc's document about this argument. Thanks. Reopened to trace the document update. TestPlan.update() is_active accept True/False now. pls verify in stage server after tcms 3.8.0-2 release. *** This bug has been marked as a duplicate of bug 841189 *** |