[ZCM] [ZC] 700/ 4 Resolve "Traceback on History in newly installed Zope"

Collector: Zope Bugs, Features, and Patches ... zope-coders@zope.org
Mon, 16 Dec 2002 12:33:21 -0500


Issue #700 Update (Resolve) "Traceback on History in newly installed Zope"
 Status Resolved, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/700

==============================================================
= Resolve - Entry #4 by mcdonc on Dec 16, 2002 12:33 pm

 Status: Accepted => Resolved

Fixed on branch and trunk
________________________________________
= Comment - Entry #3 by ajung on Nov 30, 2002 3:01 am

The problem occurs when inside OFS.History.py:

r=self._p_jar.db().history(self._p_oid, None, last)
^^^^^^^^^^^^  r is None when the DTML method is inside
              the temp_folder
r=r[first:]
^^^^^^^^^^^   fails of course for None

What is recommended way to fix that? on the ZODB level or
just by checking for None in this case?

-aj

________________________________________
= Accept - Entry #2 by ajung on Nov 30, 2002 2:52 am

 Status: Pending => Accepted

 Supporters added: ajung

Can be reproduced. History seems to work fine
inside a standard folder.
________________________________________
= Request - Entry #1 by Anonymous User on Nov 27, 2002 9:43 am

After installing Zope using Zope-2.6.0-win32-x86.exe and adding a DTML Document to temp_folder using the zope management interface. The View tab shows us a very simple document. The History tab shows us a traceback, unfortunately:
<pre>
Error Type: TypeError
Error Value: unsliceable object
</pre>
==============================================================