id summary reporter owner description type status priority component severity resolution keywords cc release 10605 MasterTicketsPlugin breaks commit_updater trac-hacks@… Ryan J Ollos "=== Environment: === * Trac 0.12.4 running via Apache httpd on Ubuntu 12.04 * MasterTicketsPlugin 3.0.3 installed * Subversion 1.6.17 with commit hooks enabled (according ​to trac:CommitTicketUpdater) === Problem: === 1. When commiting subversion changes, I'm adding submission comments according to trac:CommitTicketUpdater. I'd expect to have the referenced tickets changed, but nothing happens. No error message is visible (Subversion commit is fine, only the ticket stays unchanged). 1. Only when disabling !MasterTicketsPlugin, subversion commits behave as expected, i.e. they influence the ticket via Trac's `commit_updater`. === Debug Info: === The following error message (see last line) is reported in a debug log, if !MasterTicketsPlugin is enabled: {{{ 2012-11-06 17:29:44,452 Trac[loader] DEBUG: Loading mastertickets.api from /usr/local/lib/python2.7/dist-packages/TracMasterTickets-3.0.3-py2.7.egg 2012-11-06 17:29:44,454 Trac[loader] DEBUG: Loading mastertickets.web_ui from /usr/local/lib/python2.7/dist-packages/TracMasterTickets-3.0.3-py2.7.egg ... 2012-11-06 17:29:44,611 Trac[api] DEBUG: Event changeset_added on /usr/local/lib/svn/foo for changesets (u'5',) 2012-11-06 17:29:44,641 Trac[svn_fs] DEBUG: Subversion bindings imported 2012-11-06 17:29:44,644 Trac[cache] INFO: repos rev [5] != cached rev [4] 2012-11-06 17:29:44,645 Trac[cache] INFO: Trying to sync revision [5] 2012-11-06 17:29:44,648 Trac[cache] DEBUG: Caching node change in [5]: (u'bla.txt', 'file', 'edit', u'bla.txt', 4) 2012-11-06 17:29:44,660 Trac[api] DEBUG: Event changeset_added on (default) for revision 5 2012-11-06 17:29:44,662 Trac[commit_updater] DEBUG: Updating ticket #1 2012-11-06 17:29:44,663 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-11-06 17:29:44,663 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] 2012-11-06 17:29:44,668 Trac[commit_updater] ERROR: Unexpected error while processing ticket #1: TypeError: int() argument must be a string or a number, not 'Ticket' }}} === Workaround: === * Currently I've disabled the !MasterTicketsPlugin - then at least the commit updater works. " defect new normal MasterTicketsPlugin normal 0.12