Code

Fixed a bug in the filter - wrong variable names in the error message.
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Jul 2001 08:20:24 +0000 (08:20 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Jul 2001 08:20:24 +0000 (08:20 +0000)
Recognised that the filter has an outstanding bug. Hrm. we need a bug tracker
for this project :)

git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@23 57a73879-2fb5-44c3-a270-3262357dd7e2

README
hyperdb.py

diff --git a/README b/README
index eff1e8fe598399c923ae375c75dc100c207c244a..37c80f1f263d79c0ab6bb4e7dac93e4ecfd1cd8f 100644 (file)
--- a/README
+++ b/README
@@ -211,6 +211,9 @@ date:
   . date subtraction doesn't work correctly "if the dates cross leap years,
     phases of the moon, ..."
 
+filter:
+  . incorrectly embeds hidden fields for filters being displayed - and
+    doesn't use the existing values for filters being displayed either.
 
 
 6. Author
index 102b380bfaffdc1f6359eb2ac4cd8cef5b7ebd21..a3fce09fe7cbc16e91fb2ddc726a38ec73363098 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: hyperdb.py,v 1.5 2001-07-20 07:35:55 richard Exp $
+# $Id: hyperdb.py,v 1.6 2001-07-20 08:20:24 richard Exp $
 
 # standard python modules
 import cPickle, re, string
@@ -486,7 +486,7 @@ class Class:
                             entry = link_class.lookup(entry)
                         except:
                             raise ValueError, 'new property "%s": %s not a %s'%(
-                                key, entry, self.properties[key].classname)
+                                k, entry, self.properties[k].classname)
                     u.append(entry)
 
                 l.append((0, k, u))
@@ -502,7 +502,7 @@ class Class:
                             entry = link_class.lookup(entry)
                         except:
                             raise ValueError, 'new property "%s": %s not a %s'%(
-                                key, entry, self.properties[key].classname)
+                                k, entry, self.properties[k].classname)
                     u.append(entry)
                 l.append((1, k, u))
             elif propclass.isStringType:
@@ -737,4 +737,8 @@ def Choice(name, *options):
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.5  2001/07/20 07:35:55  richard
+# largish changes as a start of splitting off bits and pieces to allow more
+# flexible installation / database back-ends
+#