Modify

Opened 14 years ago

Closed 14 years ago

#6967 closed defect (fixed)

problem when create new tickets

Reported by: Ricky Owned by: Yuji OKAZAKI
Priority: normal Component: TracDependencyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When creating a new ticket, I get the following error:

Trac detected an internal error:

AttributeError: 'NoneType' object has no attribute 'strip'

The I identified the problem in funtion "get_ticket" in "intertrac.py". Because variable "ticket" is None ant thus can't be stripped. So I added a validation patch and now it works. Hope this patch can help a little bit.

Attachments (1)

patch.diff (7.0 KB) - added by Ricky 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by Ricky

Attachment: patch.diff added

comment:1 Changed 14 years ago by Yuji OKAZAKI

Status: newassigned

Thank you. I will confirm your patch.

comment:2 Changed 14 years ago by Yuji OKAZAKI

(In [7857]) refs #6967

comment:3 Changed 14 years ago by Yuji OKAZAKI

(In [7858]) refs #6967 Sorry, I had mistake to commit previous patch.

comment:4 Changed 14 years ago by Yuji OKAZAKI

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Yuji OKAZAKI.
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.