- Issue created by @joekings
- Assigned to abramm
- πΊπ¦Ukraine abramm Lutsk
You're right, comments aren't currently supported. I'll check what's needed to add support.
- Merge request !87Draft: Issue #3414187: Initial Comment entity type support (base field processor class) β (Open) created by abramm
- πΊπ¦Ukraine abramm Lutsk
I've pushed an initial boilerplate for the Comments entity type support class.
A challenging part would be exporting references to the parent Node (which should already exist in the system) and a reference to the parent comment (which should already exist as well).As an option, we could add a setting to export the Node with all of its child Comments, but that could not work if there're a lot of comments for the node.
Keeping this open for now.
- πΊπΈUnited States joekings
Thanks, just tried it, export worked again, had a different output than when i tried it yesterday, but am getting an error on import
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'entity_type'
> cannot be null - πΊπ¦Ukraine abramm Lutsk
Hi joekings,
Sorry if I haven't been clear, the PR is not ready for testing. It's just some basic sceleton code. @abramm - is there any update to this feature? I have a need to sync specifically comments in the Forum module, but I think the comment entities are the same as any other comments in Drupal.
Re #4 π comments import not working Active
As an option, we could add a setting to export the Node with all of its child Comments, but that could not work if there're a lot of comments for the node.
How difficult would it be to do this option? I don't have a lot of comments per node so this might work for me.
- Status changed to Closed: duplicate
18 days ago 12:27pm 4 December 2024 - πΊπ¦Ukraine nginex
All the work should happen in π¬ creating a comment exporter plugin Active