From: richard Date: Fri, 20 Jul 2001 08:20:24 +0000 (+0000) Subject: Fixed a bug in the filter - wrong variable names in the error message. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=58095c9e0b8a9c3048387a23d8c68c0cb9bfb7c9;p=roundup.git Fixed a bug in the filter - wrong variable names in the error message. 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 --- diff --git a/README b/README index eff1e8f..37c80f1 100644 --- 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 diff --git a/hyperdb.py b/hyperdb.py index 102b380..a3fce09 100644 --- a/hyperdb.py +++ b/hyperdb.py @@ -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 +#