You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/03/25 15:27:16 UTC

[18/50] git commit: [#7267] [#7015] Lookup troves by id since path could change

[#7267] [#7015] Lookup troves by id since path could change

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


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

Branch: refs/heads/db/5995
Commit: b5fcdbc5f61276343c637cafd8a0ea9ab870acc1
Parents: 12637d4
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Fri Mar 7 16:43:34 2014 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Mar 12 20:03:35 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/b5fcdbc5/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 4d1ea94..c5ffd91 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -92,13 +92,13 @@ class ProjectCategory(MappedClass):
 class TroveCategoryMapperExtension(MapperExtension):
 
     def after_insert(self, obj, state, sess):
-        g.post_event('trove_category_created', obj.fullpath)
+        g.post_event('trove_category_created', obj.trove_cat_id)
 
     def after_update(self, obj, state, sess):
-        g.post_event('trove_category_updated', obj.fullpath)
+        g.post_event('trove_category_updated', obj.trove_cat_id)
 
     def after_delete(self, obj, state, sess):
-        g.post_event('trove_category_deleted', obj.fullpath)
+        g.post_event('trove_category_deleted', obj.trove_cat_id)
 
 
 class TroveCategory(MappedClass):