Modify ↓
Opened 3 years ago
Closed 3 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 |
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)
Change History (5)
Changed 3 years ago by YouLi
comment:1 Changed 3 years ago by okazaki
- Status changed from new to assigned
comment:2 Changed 3 years ago by okazaki
comment:3 Changed 3 years ago by okazaki
comment:4 Changed 3 years ago by okazaki
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.


Thank you. I will confirm your patch.