From: richard Date: Fri, 20 Sep 2002 01:48:34 +0000 (+0000) Subject: missed some of the creator prop spec fixes .. metakit may be busted by this X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=429f34ed2930c3712619b36894c4275e8567863b;p=roundup.git missed some of the creator prop spec fixes .. metakit may be busted by this git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1199 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/back_metakit.py b/roundup/backends/back_metakit.py index 43a5223..2a90a5c 100755 --- a/roundup/backends/back_metakit.py +++ b/roundup/backends/back_metakit.py @@ -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() diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index 93d3e8b..6ddf71a 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -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):