Skip to content

feat: export and import the mime-type for each comment#274

Open
ionlizarazu wants to merge 5 commits intomainfrom
ionlizarazu-import-mime-type
Open

feat: export and import the mime-type for each comment#274
ionlizarazu wants to merge 5 commits intomainfrom
ionlizarazu-import-mime-type

Conversation

@ionlizarazu
Copy link
Member

@ionlizarazu ionlizarazu commented Dec 11, 2025

Fixes: #273

We've found out that the discussion exporter uses directly the plone.restapi serializer, which outputs the comment text as HTML or plain text

With these changes, we provide a custom serializer for IComment objects, and then we try to import also the mime-type from there in import time.

@ionlizarazu ionlizarazu requested a review from pbauer December 11, 2025 12:37
@erral erral changed the title feat: import the mime-type for each comment feat: export and import the mime-type for each comment Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The mime-type of the Comment text is not imported

2 participants