diff roundup/mailgw.py @ 419:831e91e23963

login_action and newuser_action return values were being ignored Woohoo! Found that bloody re-login bug that was killing the mail gateway. (also a minor cleanup in hyperdb)
author Richard Jones <richard@users.sourceforge.net>
date Wed, 28 Nov 2001 21:55:35 +0000
parents a6088556e9ba
children 350685601f37
line wrap: on
line diff
--- a/roundup/mailgw.py	Tue Nov 27 22:32:03 2001 +0000
+++ b/roundup/mailgw.py	Wed Nov 28 21:55:35 2001 +0000
@@ -73,7 +73,7 @@
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception. 
 
-$Id: mailgw.py,v 1.36 2001-11-26 22:55:56 richard Exp $
+$Id: mailgw.py,v 1.37 2001-11-28 21:55:35 richard Exp $
 '''
 
 
@@ -354,6 +354,10 @@
         username = self.db.user.get(author, 'username')
         self.db.close()
         self.db = self.instance.open(username)
+
+        # re-get the class with the new database connection
+        cl = self.db.getclass(classname)
+
         # now update the recipients list
         recipients = []
         tracker_email = self.ISSUE_TRACKER_EMAIL.lower()
@@ -590,6 +594,18 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.36  2001/11/26 22:55:56  richard
+# Feature:
+#  . Added INSTANCE_NAME to configuration - used in web and email to identify
+#    the instance.
+#  . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
+#    signature info in e-mails.
+#  . Some more flexibility in the mail gateway and more error handling.
+#  . Login now takes you to the page you back to the were denied access to.
+#
+# Fixed:
+#  . Lots of bugs, thanks Roché and others on the devel mailing list!
+#
 # Revision 1.35  2001/11/22 15:46:42  jhermann
 # Added module docstrings to all modules.
 #

Roundup Issue Tracker: http://roundup-tracker.org/