Skip to content

Can't export content with versions in Plone 5.0 #193

@JeffersonBledsoe

Description

@JeffersonBledsoe

Trying to export with revisions in Plone5.0 results in the following exception:

Traceback (most recent call last):
  File "/buildout/plone/instance/buildout-cache/eggs/collective.exportimport-1.7.dev0+155870989426123572981149019563996627444-py2.7.egg/collective/exportimport/export_content.py", line 303, in export_content
    item = self.update_export_data(item, obj)
  File "/buildout/plone/instance/buildout-cache/eggs/collective.exportimport-1.7.dev0+155870989426123572981149019563996627444-py2.7.egg/collective/exportimport/export_content.py", line 347, in update_export_data
    item = self.export_revisions(item, obj)
  File "/buildout/plone/instance/buildout-cache/eggs/collective.exportimport-1.7.dev0+155870989426123572981149019563996627444-py2.7.egg/collective/exportimport/export_content.py", line 503, in export_revisions
    item_version = serializer(include_items=False, version=version_id)
TypeError: __call__() got an unexpected keyword argument 'version'

This occurs here:

item_version = serializer(include_items=False, version=version_id)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions