Modify ↓
Opened 9 years ago
Closed 9 years ago
#13019 closed defect (fixed)
WikiCreateTicketPlugin breaks with Trac > 1.1.2
| Reported by: | morgana2313 | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Component: | WikiCreateTicketPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description
Because it uses get_db_cnx that was removed in version 1.1.2
File "/usr/local/lib/python2.7/site-packages/WikiCreateTicket-0.1-py2.7.egg/wikicreateticket/__init__.py", line 58, in __update_wiki
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Attached is a patch that fixes this problem.
Attachments (1)
Change History (3)
Changed 9 years ago by
| Attachment: | wikicreateticket_trac12.diff added |
|---|
comment:1 Changed 9 years ago by
| Owner: | changed from yosiyuki to Jun Omae |
|---|---|
| Status: | new → accepted |
| Trac Release: | → 1.2 |
Note: See
TracTickets for help on using
tickets.



Suggested patch would break Trac 0.12 compatibility. I'll add unit tests before fixing it.