id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10785	json-rpc ticket.putAttachment results in 'unicode' object has no attribute 'data'	markuzmx	osimons	I'm trying to use the json-rcp ticket.putAttachment but when using it the call returns with this:\r\n\r\n{{{\r\n{    u'error': {    u'code': -32603,\r\n                    u'message': u"ServiceException details : 'unicode' object has no attribute 'data'",\r\n                    u'name': u'JSONRPCError'},\r\n     u'id': None,\r\n     u'result': None}\r\n}}}\r\n\r\nThe data I'm sending is this:\r\n\r\n{{{\r\n{   'method': 'ticket.putAttachment',\r\n    'params': [1359, 'add.png', 'description data here', 'b64encoded_data', True]}\r\n}}}\r\n\r\nI've replaced the b64encoded data with a simple string for brevity. \r\n\r\nThis results in the call to be unusable.	defect	closed	normal	XmlRpcPlugin	blocker	fixed	attachment	olemis	1.0
