Changes between Initial Version and Version 2 of Ticket #11127
- Timestamp:
- Aug 16, 2013, 2:11:15 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11127 – Description
initial v2 1 1 Hello. 2 I have to propose you to hear trac developers and to use @with_transaction instead db.commit() in plugin for trac 0.12. .commit()is a cause of "Database is locked" error.2 I have to propose you to hear trac developers and to use `@with_transaction` instead `db.commit()` in plugin for trac 0.12. `db.commit()` is a cause of "Database is locked" error. 3 3 Example of configuration: 4 4 {{{ … … 16 16 Tracchildtickets 2.5.2 17 17 }}} 18 I see this error, when I try to do "UPDATE" or "DELETE" in ITicketManupulator.validate_ticket or ITicketChangeListener.ticket_changed in my plugins. And it's gone when I had used @with_transaction in save() method in mastertickets/model.py. So I think commit()was a cause that bad interactions.18 I see this error, when I try to do `UPDATE` or `DELETE` in `ITicketManupulator.validate_ticket` or `ITicketChangeListener.ticket_changed` in my plugins. And it's gone when I had used `@with_transaction` in `save()` method in `mastertickets/model.py`. So I think `commit()` was a cause that bad interactions. 19 19 20 20 Thank you for your job. :)