incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [18/21] git commit: [#4299] ticket:293 Fix bug with custom fields mass update
Date Fri, 22 Mar 2013 22:54:45 GMT
[#4299] ticket:293 Fix bug with custom fields mass update


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d5861f77
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d5861f77
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d5861f77

Branch: refs/heads/master
Commit: d5861f77fb87dff98a46c93d70da93e395abbf99
Parents: 2f619e9
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Mar 14 15:00:25 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Fri Mar 22 21:55:17 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tracker_main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d5861f77/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index 14233b5..02910d1 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -782,7 +782,7 @@ class RootController(BaseController):
                 message += get_change_text(
                     get_label(k),
                     v,
-                    ticket.custom_fields[k])
+                    ticket.custom_fields.get(k) or '')
                 ticket.custom_fields[k] = v
             if message != '':
                 ticket.discussion_thread.post(message)


Mime
View raw message