Opened 4 years ago

Closed 4 years ago

#6967 closed defect (fixed)

problem when create new tickets

Reported by: You(Ricky) Li.SIXNET Owned by: okazaki
Priority: normal Component: TracDependencyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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 "". 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 YouLi 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by YouLi

comment:1 Changed 4 years ago by okazaki

  • Status changed from new to assigned

Thank you. I will confirm your patch.

comment:2 Changed 4 years ago by okazaki

(In [7857]) refs #6967

comment:3 Changed 4 years ago by okazaki

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

comment:4 Changed 4 years ago by okazaki

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from okazaki. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.