[CMF-checkins] CVS: CMF - Topic.py:1.15

Martijn Pieters mj@digicool.com
Sun, 8 Apr 2001 15:18:54 -0400 (EDT)


Update of /cvs-repository/CMF/CMFTopic
In directory korak:/tmp/cvs-serv30243/CMFTopic

Modified Files:
	Topic.py 
Log Message:
Fix for issue PTK(241)[]: use of .id instead of getId().

- Replace all usage of SimpleItem.id with SimpleItem.getId(). Hold on to
  your butts! I am pretty sure that I didn't miss anything and that I didn't
  break anything, but you never know.

- Remove surplus > from CMFDefault/dtml/discussionEdit.dtml.

- Add missing > to CMFTopic/skins/topic/topic_edit.dtml, this fixes the ugly
  layout.



--- Updated File Topic.py in package CMF --
--- Topic.py	2001/03/30 16:48:34	1.14
+++ Topic.py	2001/04/08 19:18:21	1.15
@@ -176,7 +176,7 @@
                 view = self.restrictedTraverse(path)
                 return view
             raise 'Not Found', ('No default view defined for type "%s"'
-                                % ti.id)
+                                % ti.getId())
         else:
             raise 'Not Found', ('Cannot find default view for "%s"'
                                 % self.getPhysicalPath())