Opened 17 years ago
Closed 17 years ago
#1893 closed defect (fixed)
Starting work does not get logged
Reported by: | aig | Owned by: | Colin Guthrie |
---|---|---|---|
Priority: | normal | Component: | WorkLogPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I installed the plugin on trac 0.10.4 and I can see the Work Log box on top of each ticket. When I click the Start Work button, I am taken to the worklog page and it says "You are now working on ticket #1" (for example). Below that it does not list that I'm working on the ticket. Going back to the ticket page then says "Nobody is working on this ticket."
Clicking the button yields the following requests:
"POST /proj/worklog HTTP/1.1" 200 -
"GET /proj/chrome/site/banner.JPG HTTP/1.1" 304 -
Attachments (1)
Change History (6)
comment:1 Changed 17 years ago by
comment:2 follow-ups: 3 4 Changed 17 years ago by
I suspect I'm not committing a transaction somewhere.... I'll try and take a look but it works for me right now! You can perhaps see if there should be a db.commit() some where.... it'll probably be in the manager class
comment:3 Changed 17 years ago by
Replying to coling:
Thanks for the fast response, I'll give it a shot when I get some free time to play around at work ;)
comment:4 Changed 17 years ago by
Replying to coling:
I suspect I'm not committing a transaction somewhere.... I'll try and take a look but it works for me right now! You can perhaps see if there should be a db.commit() some where.... it'll probably be in the manager class
Hi coling:
I've found the place where the transaction was missing. I've attached a file with the patch that is working for me (attachment:ticket:1893:manager.py.diff)
Regards,
Alfonso.
comment:5 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
No records are recorded into the work_log table either.