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


Hello all,

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

<?xml version="1.0"?>
<param><string>test summary</string></param>
<param><string>test desc</string></param>

it returns false but the ticket created.

<?xml version='1.0'?>
<value><string>'unsupported operand type(s) for +=: 'NoneType' and 'unicode'' while executing 'ticket.create()'</string></value>

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.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by stephon@…

Attachment: trac.log added


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