Ticket #6967 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

problem when create new tickets

Reported by: You(Ricky) Li.SIXNET Assigned to: 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

patch.diff (7.0 kB) - added by YouLi on 04/12/10 16:36:02.

Change History

04/12/10 16:36:02 changed by YouLi

  • attachment patch.diff added.

04/18/10 06:39:02 changed by okazaki

  • status changed from new to assigned.

Thank you. I will confirm your patch.

04/18/10 09:07:30 changed by okazaki

(In [7857]) refs #6967

04/18/10 09:48:57 changed by okazaki

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

06/20/10 05:05:37 changed by okazaki

  • status changed from assigned to closed.
  • resolution set to fixed.

Add/Change #6967 (problem when create new tickets)




Change Properties
Action