allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#5932] Fixed Invalid field error for removed _milestone_counts fields
Date Wed, 27 Mar 2013 20:12:16 GMT
Updated Branches:
  refs/heads/cj/5932 [created] 7edbaef4a


[#5932] Fixed Invalid field error for removed _milestone_counts fields

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


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

Branch: refs/heads/cj/5932
Commit: 7edbaef4afd274e21baef01f5e1965080262bcc1
Parents: aced859
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Wed Mar 27 20:11:49 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Wed Mar 27 20:11:49 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7edbaef4/ForgeTracker/forgetracker/model/ticket.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/model/ticket.py b/ForgeTracker/forgetracker/model/ticket.py
index 1abeaac..686fd7d 100644
--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -53,6 +53,8 @@ class Globals(MappedClass):
     _bin_counts_data = FieldProperty([dict(summary=str, hits=int)])
     _bin_counts_expire = FieldProperty(datetime)
     _bin_counts_invalidated = FieldProperty(datetime)
+    _milestone_counts = FieldProperty(schema.Deprecated) #[dict(name=str,hits=int,closed=int)])
+    _milestone_counts_expire = FieldProperty(schema.Deprecated) #datetime)
     show_in_search = FieldProperty({str: bool}, if_missing={'ticket_num': True,
                                                             'summary': True,
                                                             '_milestone': True,


Mime
View raw message