Modify

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#12364 closed defect (fixed)

Childticketsplugin is using deprecated get_db_cnx

Reported by: anonymous Owned by: Mark Ryan
Priority: normal Component: ChildTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description (last modified by Ryan J Ollos)

TRAC API function Environment.get_db_cnx() method was marked as deprecated and removed in Trac 1.1.1. (see t:#11605).

Since ChildTicketsPlugin is using get_db_cnx it does not work with TRAC 1.1.X.

Attachments (0)

Change History (10)

comment:1 Changed 9 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 9 years ago by Ryan J Ollos

walnut: are you still maintaining this plugin? If so, are you okay with creating a branch for Trac 1.2?

comment:3 Changed 9 years ago by Mark Ryan

Hi rjollos

I am still maintaining this plugin (not finding too much time at the moment though ;) ).

I will take a look at creating a branch in the next week or two and getting a fix implemented. If there are people out there keen to use the plugin with the latest versions of trac and you have time, I am more than happy for you to make changes where you see fit.

thx Mark

comment:4 Changed 9 years ago by Ryan J Ollos

Thanks a lot! I think it would be pretty straightforward to make a patch. I'll wait until you restructure the repository, as we discussed over email.

comment:5 Changed 9 years ago by Mark Ryan

Status: newaccepted

comment:6 Changed 9 years ago by Mark Ryan

Fix has been applied to trunk (childticketsplugin/trunk) and I have tested with Trac 1.0.7 & 1.1.6.

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

comment:7 Changed 9 years ago by Mark Ryan

Resolution: fixed
Status: acceptedclosed

childticketsplugin no longer using the deprecated 'get_db_cnx'.

New tag can be accessed here: https://trac-hacks.org/svn/childticketsplugin/tags/2.5.3

best regards (and thx for your patience!) mark

comment:8 Changed 9 years ago by Ryan J Ollos

In 15066:

2.5.4dev: Revise installation requirements

Enforce Trac >= 1.0. Genshi and Python version is enforced
by Trac.

Fixes #10708, #11208. Refs #12364.

comment:9 Changed 9 years ago by Ryan J Ollos

I took the liberty of fixing the installation problems. I hope that is okay.

comment:10 Changed 9 years ago by Ryan J Ollos

Additional changes proposed in #12581.

Modify Ticket

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