summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0552fce)
raw | patch | inline | side by side (parent: 0552fce)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 30 Jul 2001 02:37:53 +0000 (02:37 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 30 Jul 2001 02:37:53 +0000 (02:37 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@161 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index 59b91cddbbefd0f09fa4c9d6f4ae5fe42c05c547..1356ed0692dae97f971b279f6a1c62c1218cb065 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
-# $Id: htmltemplate.py,v 1.12 2001-07-30 01:24:33 richard Exp $
+# $Id: htmltemplate.py,v 1.13 2001-07-30 02:37:53 richard Exp $
import os, re, StringIO, urllib, cgi, errno
return '[Field: not called from item]'
propclass = self.properties[property]
if self.nodeid:
- value = self.cl.get(self.nodeid, property)
+ value = self.cl.get(self.nodeid, property, None)
+ # TODO: remove this from the code ... it's only here for
+ # handling schema changes, and they should be handled outside
+ # of this code...
+ if propclass.isMultilinkType and value is None:
+ value = []
elif self.filterspec is not None:
if propclass.isMultilinkType:
value = self.filterspec.get(property, [])
#
# $Log: not supported by cvs2svn $
+# Revision 1.12 2001/07/30 01:24:33 richard
+# Handles new node display now.
+#
# Revision 1.11 2001/07/29 09:31:35 richard
# oops
#