Upgrade to Zope 2.7.1 breaks old Script (Python)'s history

Bug #143051 reported by ChrisW
2
Affects Status Importance Assigned to Milestone
Zope 2
Won't Fix
Medium
Unassigned

Bug Description

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/Historica
lRevisions/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.

Tags: bug zope
Revision history for this message
Andreas Jung (ajung) wrote :

Changes: submitter email, importance (critical => medium), new comment

this is not critical

Revision history for this message
Hanno Schlichting (hannosch) wrote :

There's nothing we can do about old Zope 2.7 bugs anymore.

Changed in zope2:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.