Exception message in subprocess doesn't say which property in the subprocess was affected

Created on 8 November 2023, over 1 year ago

Problem/Motivation

I am getting this error:

> global_block_content:field_bi_gds_header_meganav:sub_process: extract: Input should be an array, instead it was of type 'NULL'

This is the relevant process mapping in the migration:

  field_bi_gds_header_meganav:
    plugin: sub_process
    source: field_bi_gds_header_meganav
    process:
      target_id:
        -
          plugin: migration_lookup
          migration: market_paragraph
          source: target_id
        -
          plugin: extract
          index:
            - 0
      target_revision_id:
        -
          plugin: migration_lookup
          migration: market_paragraph
          source: target_id
        -
          plugin: extract
          index:
            - 1

The error message is ambiguous, because there is an 'extract' in both target_id and target_revision_id.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024