[Zope-dev] Weird AssertionError on History Compare in Zope 2.7.1
PythonScript
Chris Withers
chris at simplistix.co.uk
Wed Jun 30 12:52:08 EDT 2004
Hi,
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
http://localhost:8001/myScript/HistoricalRevisions/848.5934.59436.15445
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
se
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
rev.__setstate__(state)
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:
http://zope.org/Collectors/Zope/1394
...if anyone would prefer to follow up in the collector...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list