Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/plone/importexport/browser/importexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,8 @@ def export(self):
# 'No check provided. Thus exporting whole content'
headers = self.getheaders()

# Just to make sure headers does not contain any attribute
# from MUST_INCLUDED_ATTRIBUTES
headers = list(set(headers) - set(MUST_INCLUDED_ATTRIBUTES))
# Appending MUST_INCLUDED_ATTRIBUTES in the beginning
headers = MUST_INCLUDED_ATTRIBUTES + headers
# Just to make sure headers are unique
headers = list(set(headers))

# results is a list of dicts
objData = self.serialize(self.context)
Expand Down