Bug 725995

Summary: TestPlan.create default is_active boolean is False
Product: [Other] TCMS Reporter: Zbysek MRAZ <zmraz>
Component: XMLRPCAssignee: Yang Ren <ryang>
Status: ASSIGNED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5CC: ebenes, junzhang, ohudlick, ryang, vchen, yawli
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-21 07:19:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zbysek MRAZ 2011-07-27 09:34:41 UTC
Description of problem:
on .../xmlrpc page is written that default is 1, but when creating new test plans thru xmlrpc, all of them are disabled.
Even though xmlrpc reports it as 'False' and not as '0'
The default should be True of 1.

Version-Release number of selected component (if applicable):
Nitrate 3.5.0-4

Steps to Reproduce:
1. Create new testplan thru xmlrpc
values = {'default_product_version': '219',
 'name': 'Plan3',
 'product': '149',
 'text': 'Some document to new plan',
 'type': 3}
TestPlan.create(values)
  
Actual results:
 'is_active': 'False',

Expected results:
 'is_active': 'True',

Comment 1 Petr Šplíchal 2013-10-26 23:09:07 UTC
This does not seem to be fixed. When creating a new test plan
without status specified the 'is_active' flag is set to 'False'.