I upgraded a Zope 2.6.2 site to 2.7.1.
Since then, the history tab of all my old Script(Python)'s is broken.

If I try to do a compare between two versions, or just view a historical revision, I get the following error:

2004-06-30T17:41:22 ERROR(200) SiteError
Traceback (most recent call last):
  File "e:\Zope\2.7.1\lib\python\ZPublisher\Publish.py", line 92, in publish
    object=request.traverse(path, validated_hook=validated_hook)
  File "e:\Zope\2.7.1\lib\python\ZPublisher\BaseRequest.py", line 328, in traver
    try: subobject=object[entry_name]
  File "e:\Zope\2.7.1\lib\python\OFS\History.py", line 67, in __getitem__
    rev=historicalRevision(self, serial)
  File "e:\Zope\2.7.1\lib\python\OFS\History.py", line 52, in historicalRevision

  File "e:\Zope\2.7.1\lib\python\Products\PythonScripts\PythonScript.py", line 2
17, in __setstate__
    self._body = body + '\n'
  File "E:\Zope\2.7.1\lib\python\ZODB\Connection.py", line 534, in register
    assert object._p_jar is self

Script (Python)'s I've created since the upgrade are fine, but any old ones that were around have a buggered history.

I figure this is a bug of some sort, but thought I'd ask here too. The bug report is at:
...if anyone would prefer to follow up in the collector...


Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk

Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to