Modify ↓
Opened 8 years ago
Closed 8 years ago
#13060 closed defect (fixed)
BookmarkPlugin using old Trac database API
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | BookmarkPlugin |
Severity: | normal | Keywords: | |
Cc: | Jun Omae | Trac Release: | 1.2 |
Description
As of rev 16217, on Trac 1.2, this plugin causes a Trac internal error on every page, which I think means it's using the old Trac database API
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Most recent call last: File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 613, in _dispatch_request File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 263, in dispatch File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 444, in _post_process_request File "build/bdist.linux-x86_64/egg/tracbookmark/__init__.py", line 183, in post_process_request File "build/bdist.linux-x86_64/egg/tracbookmark/__init__.py", line 319, in render_bookmarker File "build/bdist.linux-x86_64/egg/tracbookmark/__init__.py", line 72, in get_bookmark
Attachments (0)
Change History (3)
comment:1 Changed 8 years ago by
Cc: | Jun Omae added |
---|
comment:2 Changed 8 years ago by
Owner: | changed from yosiyuki to Ryan J Ollos |
---|---|
Status: | new → accepted |
Note: See
TracTickets for help on using
tickets.
I'm inclined to create one more release and then drop support for Trac < 1.0. Please comment if you have concern about dropping support for Trac < 1.0.