Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2021 at 15:53 UTC
Updated:
16 Jan 2022 at 16:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
edurenye commentedFixed
Comment #3
quietone commentedSeems I was all thumbs trying to get the correct test started.
Comment #4
martin_klimaYes, I fully agree. The MigrateProcessInterface has a wrong return type for the transform() method.
For example \Drupal\migrate\Plugin\migrate\process\MigrationLookup::transform returns NULL, so it is not compatible with the interface.
I had a problem with PHPstan check because our custom process plugin returns also NULL.
This patch works, thank you!
Comment #6
damienmckennaAs a reminder, the "assigned" field is for indicating you're actively working on something, when you're finished please set the field back to "unassigned". Thank you.
Comment #7
quietone commentedRe-uploading patch so it will test with 9.4.x.
Comment #10
catchCommitted/pushed to 10.0.x and cherry-picked to 9.4.x, thanks!