Ticket #7808 (closed defect: fixed)

Opened 3 years ago

Last modified 6 months ago

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

Reported by: anonymous Assigned to: 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

Change History

03/15/11 15:37:32 changed by anonymous

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

04/16/12 09:09:51 changed by rjollos

#9876 closed as a duplicate.

04/16/12 09:12:53 changed 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.

12/04/12 18:26:04 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7808 (AttributeError: 'Ticket' object has no attribute '_get_db_for_write')




Change Properties
Action