Hi,
i configured CommitTicketUpdater  and it adds commit references to the 
tickets. Unfortunately it does not close the ticket.
Here is my commit command:

svn ci -m "close #2"


Here are the debug logs:

2012-06-29 12:02:39,279 Trac[api] DEBUG: Event changeset_added on /svn/test 
for changesets (u'41',)
2012-06-29 12:02:39,443 Trac[svn_fs] DEBUG: Subversion bindings imported
2012-06-29 12:02:39,448 Trac[cache] INFO: repos rev [41] != cached rev [40]
2012-06-29 12:02:39,452 Trac[cache] INFO: Trying to sync revision [41]
2012-06-29 12:02:39,456 Trac[cache] DEBUG: Caching node change in [41]: 
(u'test', 'file', 'edit', u'test', 40L)
2012-06-29 12:02:39,637 Trac[api] DEBUG: Event changeset_added on test for 
revision 41
2012-06-29 12:02:39,656 Trac[commit_updater] DEBUG: Updating ticket #2
2012-06-29 12:02:39,657 Trac[default_workflow] DEBUG: Workflow actions at 
initialization: {u'resolve': {u'operations': [u'set_resolution'], 'name': 
u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', 
u'assigned', u'accepted', u'reopened'], u'permissions': 
[u'TICKET_MODIFY']}, u'accept': {u'operations': [u'set_owner_to_self'], 
'name': u'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': 
[u'new', u'assigned', u'accepted', u'reopened'], u'permissions': 
[u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name': 
u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 
'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': 
u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 
u'permissions': [u'TICKET_CREATE']}, u'reassign': {u'operations': 
[u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned', 
'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 
u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': 
['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 
'oldstates': [], 'permissions': []}}

2012-06-29 12:02:39,659 Trac[api] DEBUG: action controllers for ticket 
workflow: ['ConfigurableTicketWorkflow']



And here is my configuration:

... 

[components]
... 

tracopt.ticket.commit_updater.committicketreferencemacro = enabled
tracopt.ticket.commit_updater.committicketupdater = enabled

... 

[ticket]
commit_ticket_update_check_perms = false
commit_ticket_update_commands.close = "close"
commit_ticket_update_commands.refs = <ALL>
commit_ticket_update_envelope =
commit_ticket_update_notify = true

... 


I am using trac 0.12.3-1 from debian wheezy.

The ticket is assigned to bob and bob is the user that is committing.

What can i do to get 'close' working?

Thanks,
Markus

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/u_QWJRPOHKMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to