You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/03/22 23:54:45 UTC
[18/21] git commit: [#4299] ticket:293 Fix bug with custom fields
mass update
[#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 <je...@gmail.com>
Authored: Thu Mar 14 15:00:25 2013 +0000
Committer: Tim Van Steenburgh <tv...@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)