Code

missed some of the creator prop spec fixes .. metakit may be busted by this
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Sep 2002 01:48:34 +0000 (01:48 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Fri, 20 Sep 2002 01:48:34 +0000 (01:48 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1199 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/backends/back_metakit.py
roundup/backends/rdbms_common.py

index 43a52238f65cba8aa7da74948347e9b3596d0843..2a90a5c06b31b5c3fb8e8ae5fa640461140a96d2 100755 (executable)
@@ -194,7 +194,7 @@ class Class:
         self.privateprops = { 'id' : hyperdb.String(),
                               'activity' : hyperdb.Date(),
                               'creation' : hyperdb.Date(),
-                              'creator'  : hyperdb.Link('user') }
+                              'creator'  : hyperdb.String() }
         self.auditors = {'create': [], 'set': [], 'retire': []} # event -> list of callables
         self.reactors = {'create': [], 'set': [], 'retire': []} # ditto
         view = self.__getview()
index 93d3e8bc463a26455f5406d26aafcfd482071c1d..6ddf71ae66f17bf9356a01983ab28eba9512b1ea 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: rdbms_common.py,v 1.7 2002-09-20 01:20:32 richard Exp $
+# $Id: rdbms_common.py,v 1.8 2002-09-20 01:48:34 richard Exp $
 
 # standard python modules
 import sys, os, time, re, errno, weakref, copy
@@ -1788,7 +1788,7 @@ class Class(hyperdb.Class):
             d['id'] = String()
             d['creation'] = hyperdb.Date()
             d['activity'] = hyperdb.Date()
-            d['creator'] = hyperdb.Link("user")
+            d['creator'] = hyperdb.String()
         return d
 
     def addprop(self, **properties):