Appending another value to a paragraph field causing import to fail

Created on 28 January 2019, almost 6 years ago
Updated 23 October 2024, 24 days ago

This is a placeholder.

Description:
The error happens because the paragraph field have multiple bundles allowed, when mapping to a field in a different bundle.
Steps to reproduce:

  1. Create a paragraph field in the article content type with multiple allowed bundles
  2. Import 2 values with each mapped to a field in a different bundle
  3. Start import and the import fails
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇱🇧Lebanon hussein-elhussein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • this is my issue too. any update?

  • It always imports only 1 paragraph into the same parent field

    Scenario is:

    Content type : Page
    Field: Content (has multiple paragraph references including text, related content, documents)
    it only imports the first reference. if if I first map text target it only imports that and ignore the next one which is related content
    If I map related content first it will import that and ignores the text
    if I call explode() in the beginning of the import() function it will only import the last target

Production build 0.71.5 2024