Modify

Opened 6 years ago

Closed 4 years ago

#7808 closed defect (fixed)

AttributeError: 'Ticket' object has no attribute '_get_db_for_write'

Reported by: anonymous Owned by: Daniel Atallah
Priority: normal Component: PendingTicketPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description

Does not work at all in Trac 0.12.

Line 30 of remove_pending.py must be changed to db = ticket.env.get_db_cnx().

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by anonymous

I support that. For me the proposed change also made the plugin work on trac 0.12. So please integrate it ASAP.

comment:2 Changed 5 years ago by Ryan J Ollos

#9876 closed as a duplicate.

comment:3 Changed 5 years ago by Ryan J Ollos

I'd be happy to push a change for this and #7822, if permission from the author or no response for 2 weeks, and someone provides a patch for the codebase, and is willing to test after the patch is applied.

comment:4 Changed 4 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Should be fixed in [12401] for the 1.0 branch.

Modify Ticket

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