aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bentley <aaron.bentley@utoronto.ca>2005-12-20 22:32:56 -0500
committerAaron Bentley <aaron.bentley@utoronto.ca>2005-12-20 22:32:56 -0500
commitde52d58b71dae911a94fb77bce48c478b288bb12 (patch)
tree569dea65b1668d891665f67d56cb1531d0880633
parent452fcc061beff90d33934e489f0c5f3ba09cacbd (diff)
parentbaa1866f551eecc2cf9c2a74ce7c29a52cc90bbf (diff)
downloadbugseverywhere-de52d58b71dae911a94fb77bce48c478b288bb12.tar.gz
Merged date fix
-rw-r--r--.be/bugs/27bb8bc2-05c2-417a-9d09-928471380d7a/values35
-rw-r--r--.be/bugs/38bd9b8a-3325-4ee5-bb75-600dfb415285/values28
-rw-r--r--.be/bugs/7d182ab9-9c0c-4b4f-885e-c5762d7a2437/values2
-rw-r--r--.be/bugs/c592a1e8-f2c8-4dfb-8550-955123073947/values2
-rw-r--r--beweb/beweb/controllers.py7
5 files changed, 67 insertions, 7 deletions
diff --git a/.be/bugs/27bb8bc2-05c2-417a-9d09-928471380d7a/values b/.be/bugs/27bb8bc2-05c2-417a-9d09-928471380d7a/values
new file mode 100644
index 0000000..ce4108a
--- /dev/null
+++ b/.be/bugs/27bb8bc2-05c2-417a-9d09-928471380d7a/values
@@ -0,0 +1,35 @@
+
+
+
+creator=abentley
+
+
+
+
+
+
+severity=minor
+
+
+
+
+
+
+status=closed
+
+
+
+
+
+
+summary=Are dates still a problem?
+
+
+
+
+
+
+time=Tue, 20 Dec 2005 19:37:03 +0000
+
+
+
diff --git a/.be/bugs/38bd9b8a-3325-4ee5-bb75-600dfb415285/values b/.be/bugs/38bd9b8a-3325-4ee5-bb75-600dfb415285/values
new file mode 100644
index 0000000..33cacf2
--- /dev/null
+++ b/.be/bugs/38bd9b8a-3325-4ee5-bb75-600dfb415285/values
@@ -0,0 +1,28 @@
+
+
+
+creator=abentley
+
+
+
+
+
+
+severity=minor
+
+
+
+
+
+
+status=closed
+
+
+
+
+
+
+summary=
+
+
+
diff --git a/.be/bugs/7d182ab9-9c0c-4b4f-885e-c5762d7a2437/values b/.be/bugs/7d182ab9-9c0c-4b4f-885e-c5762d7a2437/values
index 96bfa68..5d6b845 100644
--- a/.be/bugs/7d182ab9-9c0c-4b4f-885e-c5762d7a2437/values
+++ b/.be/bugs/7d182ab9-9c0c-4b4f-885e-c5762d7a2437/values
@@ -15,7 +15,7 @@ severity=minor
-status=open
+status=closed
diff --git a/.be/bugs/c592a1e8-f2c8-4dfb-8550-955123073947/values b/.be/bugs/c592a1e8-f2c8-4dfb-8550-955123073947/values
index 4cf4e0c..7f0ab44 100644
--- a/.be/bugs/c592a1e8-f2c8-4dfb-8550-955123073947/values
+++ b/.be/bugs/c592a1e8-f2c8-4dfb-8550-955123073947/values
@@ -22,7 +22,7 @@ status=open
-summary=Beweb needs ability to create comments
+summary=Needs ability to create comments
diff --git a/beweb/beweb/controllers.py b/beweb/beweb/controllers.py
index 2fe3d3e..168d610 100644
--- a/beweb/beweb/controllers.py
+++ b/beweb/beweb/controllers.py
@@ -1,7 +1,7 @@
import turbogears
from turbogears import controllers
import cherrypy
-from libbe.bugdir import tree_root, cmp_severity
+from libbe.bugdir import tree_root, cmp_severity, new_bug
from libbe import names
from config import projects
from restresource import RESTResource
@@ -44,10 +44,7 @@ class Bug(RESTResource):
}
def new_bug(self):
- bug = self.bug_tree().new_bug()
- bug.creator = names.creator()
- bug.severity = "minor"
- bug.status = "open"
+ bug = new_bug(self.bug_tree())
bug.save()
raise cherrypy.HTTPRedirect(bug_url(self.parent, bug.uuid))