Json migrate breaks after latest upgrade

Created on 9 January 2025, 12 days ago

After latest module upgrade I have the problem that some of my existing migrations do not work anymore.
Problem is for JSON source returning "false" for empty item_selector.

Proposed solution:
- change modules/contrib/migrate_plus/src/Plugin/migrate_plus/data_parser/Json.php
- change lines 131 ff from

    // Ensure there is source data at the current url.
    if (is_null($source_data)) {
      return FALSE;
    }

- to

    // Ensure there is source data at the current url.
    if (is_null($source_data) || $source_data === false) {
      return FALSE;
    }
πŸ› Bug report
Status

Active

Version

6.0

Component

Miscellaneous

Created by

πŸ‡©πŸ‡ͺGermany vistree

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024