summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 07624d8)
raw | patch | inline | side by side (parent: 07624d8)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 11 Jun 2002 06:52:03 +0000 (06:52 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 11 Jun 2002 06:52:03 +0000 (06:52 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@777 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/hyperdb.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 55e4ac6efa6cd75a26b6c3d6ff8a289a7818c7af..cbb45a93d8e59cfaf3882fa610df2a6b197ce82f 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
. build htmlbase if tests are run using CVS checkout
. #565979 ] code error in hyperdb.Class.find
. #565996 ] The "Attach a File to this Issue" fails
+ . #564271 ] find() and new properties
+
2002-03-25 - 0.4.1
Feature:
diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index 78a0d7691702921e450d3f54ce277d255ccd2bda..392363fbd3f6dc9d41b21641120c0064bcc3a9b4 100644 (file)
--- a/roundup/hyperdb.py
+++ b/roundup/hyperdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: hyperdb.py,v 1.67 2002-06-11 05:02:37 richard Exp $
+# $Id: hyperdb.py,v 1.68 2002-06-11 06:52:03 richard Exp $
__doc__ = """
Hyperdatabase implementation, especially field types.
# ok, now do the find
cldb = self.db.getclassdb(self.classname)
l = []
- for id in self.db.getnodeids(self.classname, cldb):
- node = self.db.getnode(self.classname, id, cldb)
+ for id in self.db.getnodeids(self.classname, db=cldb):
+ node = self.db.getnode(self.classname, id, db=cldb)
if node.has_key(self.db.RETIRED_FLAG):
continue
for propname, nodeid in propspec:
+ # can't test if the node doesn't have this property
+ if not node.has_key(propname):
+ continue
prop = self.properties[propname]
property = node[propname]
if isinstance(prop, Link) and nodeid == property:
#
# $Log: not supported by cvs2svn $
+# Revision 1.67 2002/06/11 05:02:37 richard
+# . #565979 ] code error in hyperdb.Class.find
+#
# Revision 1.66 2002/05/25 07:16:24 rochecompaan
# Merged search_indexing-branch with HEAD
#