Description of problem: Updating the 'is_active' using TestPlan.update() does not have any effect. The value stays the same. Version-Release number of selected component (if applicable): Nitrate 3.5.0 Steps to Reproduce: 1. Update the is_active flag 2. Fetch again the same test plan Actual results: Value not updated.
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 ***