# HG changeset patch # User Teemu Piippo # Date 1412361882 -10800 # Node ID 543d7a5e3b8b9627693e50beae99bb769fe19536 # Parent 237e82bcd02f7a6cc8735299bf9346ce16d1872d - when updating BT tickets, the note data must be cleared in order to not update all the tickets in the ticket. WTF is MantisBT smoking? diff -r 237e82bcd02f -r 543d7a5e3b8b cobalt.py --- a/cobalt.py Mon Sep 29 12:22:26 2014 +0300 +++ b/cobalt.py Fri Oct 03 21:44:42 2014 +0300 @@ -421,6 +421,9 @@ #done if need_update: + # We need to remove the note data, otherwise the ticket notes + # will get unnecessary updates. WTF, MantisBT? + ticket_data.notes = [] suds_client.service.mc_issue_update (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, ticket_data) #fi