Bug 902891

Summary: Unable to set empty string as Notes by TestCase.update()
Product: [Other] TCMS Reporter: Lukáš Zachar <lzachar>
Component: XMLRPCAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DevelCC: bnater, ohudlick, ryang
Target Milestone: ---   
Target Release: 3.8.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 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:

Description Lukáš Zachar 2013-01-22 16:06:59 UTC
Description of problem:
At the moment it is not possible to set empty string ('') as test case notes using xmlrpc TestCase.update() call. 


Version-Release number of selected component (if applicable):
3.8.2

How reproducible:
always 

Steps to Reproduce:
1. server.TestCase.update([220596], {'notes':''})
2. 
3.
  
Actual results:
Returned dictionary contains
'notes': 'this should be overwritten',

Expected results:
Returned dictionary contains
'notes':'',

Additional info:

Comment 1 Branislav Náter 2014-01-31 16:18:06 UTC
The same apply to field "script".

1. tc._server.TestCase.update([94519], { "script": ""} )

Actual results:
script filed is not updated.

Comment 2 yangqiu 2014-05-28 11:25:01 UTC
verify this bug on v3.8.8-1 on devel server.--->PASS
Both 'script' and 'notes' can be modified to empty string ('').