Skip to content

Commit 6e802f7

Browse files
authored
Merge pull request #188 from collective/always-import-discussions
2 parents 8a47e3a + 17daafc commit 6e802f7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Changelog
3131
- Add example for importing collective.jsonify data to documentation.
3232
[pbauer]
3333

34+
- Always import discussions independent if discussion support is enabled or not
35+
on a particular content object (#182)
36+
[ajung]
37+
3438

3539
1.7 (2023-01-20)
3640
----------------

src/collective/exportimport/import_other.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,6 @@ def import_data(self, data):
601601
obj = api.content.get(UID=conversation_data["uuid"])
602602
if not obj:
603603
continue
604-
if not obj.restrictedTraverse("@@conversation_view").enabled():
605-
continue
606604
added = 0
607605
conversation = IConversation(obj)
608606

0 commit comments

Comments
 (0)