Modify

Opened 4 years ago

Closed 2 years ago

#7808 closed defect (fixed)

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

Reported by: anonymous Owned by: datallah
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 4 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 3 years ago by rjollos

#9876 closed as a duplicate.

comment:3 Changed 3 years ago by rjollos

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 2 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain datallah.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.