Bug 725995 - TestPlan.create default is_active boolean is False
Summary: TestPlan.create default is_active boolean is False
Keywords:
Status: ASSIGNED
Alias: None
Product: TCMS
Classification: Other
Component: XMLRPC
Version: 3.5
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Yang Ren
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-27 09:34 UTC by Zbysek MRAZ
Modified: 2022-03-14 03:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-21 07:19:07 UTC


Attachments (Terms of Use)

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'.


Note You need to log in before you can comment on or make changes to this bug.