Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you add a Container component to the Export configuration and then add one or more child components underneath, the child components are rendered twice in the export. Once under the container component and once on their own.
This is b/c the ApplenewsExportNode class does not check that it's only rendering its root components (any child components are rendered by the Container component).
Comments
Comment #3
m4oliveiMerged fix to 7.x-2.x.
Fix was for each destionation component, check it's depth and ensure that only components at depth 0 are exported. Any Container component will loop through it's children and fetch their components for inclusion under itself.
Comment #4
m4olivei