Modify

Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#13584 closed task (fixed)

Replace deprecated code

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

With the upcoming Trac 1.3/1.4 several function and methods will bee removed. To enable the plugin for the future this code must be replaced.

The following comes to mind:

  • env.get_read_db()
  • with_transaction

Internal plugin code:

  • class Comment

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by Cinc-th

Committed revision [17449]:

replaced deprecated env.get_red_db() and with_transaction in tracgenericclass.

comment:2 Changed 5 years ago by Cinc-th

In 17451:

PeerReviewPlugin: replaced deprecated env.get_red_db().

Refs #13584

Last edited 5 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 5 years ago by Cinc-th

In 17452:

PeerReviewPlugin: removed superfluous env.get_red_db() and compatibility code for Trac 0.11.

Refs #13584

Last edited 5 years ago by Ryan J Ollos (previous) (diff)

comment:4 Changed 3 years ago by Cinc-th

Resolution: fixed
Status: assignedclosed

Missed this ticket so not all compatibility improvements are referenced here.

The plugin now works with Trac 1.4, see #13972 for more info.

Last edited 3 years ago by Cinc-th (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
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.