- First commit to issue fork.
- Merge request !100Issue #2830058: entity_lookup plugin fails if is empty β (Open) created by joegraduate
- πΊπΈUnited States joegraduate Arizona, USA
Created MR from patch #10 to trigger GitLab CI checks, etc.
- Status changed to Needs work
29 days ago 9:44pm 7 July 2025 - πΊπΈUnited States danflanagan8 St. Louis, US
I can't say I remember working on this one, but it looks like I was pleased with the test in #8, which was included in the MR created by @joegraduate.
Looking at the test only fail in Gitlab I see (from 11 months ago):
1) Drupal\Tests\migrate_plus\Kernel\Plugin\migrate\process\EntityLookupTest::testLookupEntityWithoutBundles
Failed asserting that false is null.
/builds/issue/migrate_plus-2830058/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122
/builds/issue/migrate_plus-2830058/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:56
/builds/issue/migrate_plus-2830058/tests/src/Kernel/Plugin/migrate/process/EntityLookupTest.php:110
/builds/issue/migrate_plus-2830058/vendor/phpunit/phpunit/src/Framework/TestResult.php:729That doesn't look like too much of problem, eh? I wonder if the original failure (now lost to time) was more of an explosion than that. I wonder if something hasn't changed in this plugin since October 2022 that might make it handle null without blowing up.
There's quite a bit of action on this plugin in the git history: https://git.drupalcode.org/project/migrate_plus/-/commits/6.0.x/src/Plug...
I'm going to retrigger the pipeline in gitlab and see what it looks like.
- πΊπΈUnited States danflanagan8 St. Louis, US
I can't seem to get the pipeline to run in Gitlab. Getting a console error and nothing happens. :shrug: