Ticket #10457 (closed Bug: fixed)

Opened 6 years ago

Last modified 6 years ago

CMFEditions 2.0b4 does not version large folders plone 4.0b2

Reported by: jwhisnant Owned by: alecm
Priority: minor Milestone: 4.0
Component: Versioning Version:
Keywords: OIBTreeItems, tuple,versions_history_form.pt Cc:


CMFEditions 2.0b4 does not version large folders changes correctly.

To replicate the behavior go under Site Setup -->Types-->large folder and enable versioning automatic and globally addable.

Create a large folder in the root of site and publish it.

When comparing edited and published "versions" the traceback is below.

Traceback (innermost last):

Module ZPublisher.Publish, line 127, in publish

Module ZPublisher.mapply, line 77, in mapply

Module ZPublisher.Publish, line 47, in call_object

Module Products.CMFEditions.browser.diff, line 44, in call

Module Products.CMFEditions.browser.diff, line 22, in getVersion

Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 354, in retrieve

Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 488, in _retrieve

Module Products.CMFEditions.CopyModifyMergeRepositoryTool, line 547, in _recursiveRetrieve

Module Products.CMFEditions.ArchivistTool, line 340, in retrieve

Module Products.CMFEditions.ArchivistTool, line 512, in getitem

Module Products.CMFEditions.ModifierRegistryTool, line 252, in afterRetrieveModifier

Module Products.CMFEditions.StandardModifiers, line 406, in afterRetrieveModifier

Module Products.CMFEditions.StandardModifiers, line 376, in _getAttributeNamesHandlingSubObjects

TypeError: can only concatenate tuple (not "OIBTreeItems") to tuple

When comparing changes in data from the summary field of the folder (an actual revision), this is the error :

TypeError: unsupported operand type(s) for +: 'OIBTreeItems' and 'OIBTreeItems'

This above error also appears in page template by choosing the 'View' option instead of 'Compare':

URL: file:/opt/buildouts/plone40b2/plone/eggs/Products.CMFEditions-2.0b4-py2.6.egg/Products/CMFEditions/skins/CMFEditions/versions_history_form.pt

Line 201, Column 6 Expression: <PythonExpr pr.retrieve(context, version_id)>

Change History

comment:1 Changed 6 years ago by alecm

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 2.0b6

Note: See TracTickets for help on using tickets.