MigrateSkipRowException should document that it is for use within migration process plugins

Created on 1 November 2021, about 3 years ago
Updated 17 February 2024, 11 months ago

Problem/Motivation

Looking at MigrateSkipRowException, you might think you can throw it anywhere in a migration.

However, for instance, throwing it in a destination plugin causes an error. It looks like it's caught in:

- processing a row
- invoking migrate_prepare_row() hooks
- MigrationLookup -- which might be because that involves processing a row?

Steps to reproduce

Proposed resolution

Add documentation to the exception class docblock.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.2

Component
Migration 

Last updated about 12 hours ago

Created by

🇬🇧United Kingdom joachim

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024