Modify

Opened 7 years ago

Closed 7 years ago

#13060 closed defect (fixed)

BookmarkPlugin using old Trac database API

Reported by: s32rybeafa@… 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 7 years ago by Ryan J Ollos

Cc: Jun Omae added

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.

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from yosiyuki to Ryan J Ollos
Status: newaccepted

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16293:

1.0.0dev: Make compatible with Trac 1.0+

Fixes #13060.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.