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 2014/03/05 22:11:40 UTC

git commit: [#7015] Use fullpath for trove events

Repository: incubator-allura
Updated Branches:
  refs/heads/tv/7015 [created] 294671ef3


[#7015] Use fullpath for trove events

Signed-off-by: Tim Van Steenburgh <tv...@gmail.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/294671ef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/294671ef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/294671ef

Branch: refs/heads/tv/7015
Commit: 294671ef33099548cb789ec8d738c76d226cb010
Parents: 2bc9d55
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Tue Mar 4 16:38:28 2014 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Wed Mar 5 21:09:55 2014 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/294671ef/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index e5902b8..4d1ea94 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._id)
+        g.post_event('trove_category_created', obj.fullpath)
 
     def after_update(self, obj, state, sess):
-        g.post_event('trove_category_updated', obj._id)
+        g.post_event('trove_category_updated', obj.fullpath)
 
     def after_delete(self, obj, state, sess):
-        g.post_event('trove_category_deleted', obj._id)
+        g.post_event('trove_category_deleted', obj.fullpath)
 
 
 class TroveCategory(MappedClass):