Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9096 closed defect (worksforme)

Create ticket using XML-RPC, returns "unsupported operand type(s) for +=: 'NoneType' and 'unicode'' while executing 'ticket.create()"

Reported by: stephon@… Owned by: Odd Simon Simonsen
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Hello all,

I use the XMLRPC plugin to create a ticket with the XML code below

<?xml version="1.0"?>
<methodCall>
<methodName>ticket.create</methodName>
<params>
<param><string>test summary</string></param>
<param><string>test desc</string></param>
</params>
</methodCall>

it returns false but the ticket created.

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>1</int></value>
</member>
<member>
<name>faultString</name>
<value><string>'unsupported operand type(s) for +=: 'NoneType' and 'unicode'' while executing 'ticket.create()'</string></value>
</member>
</struct></value>
</fault>
</methodResponse>

In the attachment is the trackback log Would anyone please to check what the problem is? My trac version is 0.12.2 And the XMLRPC plugin version is 1.1.2

Thanks all a lot

Attachments (1)

trac.log (12.1 KB) - added by stephon@… 6 years ago.
trackback

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by stephon@…

Attachment: trac.log added

trackback

comment:1 Changed 6 years ago by Odd Simon Simonsen

Resolution: worksforme
Status: newclosed

I've added a test case with your input, and in the functional (plain) Trac environment it works as expected.

I'm guessing this is related to some ticket-manipulating plugins you may have installed, or some other plugins or changes you've made.

comment:2 Changed 6 years ago by Odd Simon Simonsen

Oh, test added in [10614] for reference.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.