Problem/Motivation

\Drupal\user\Plugin\migrate\process\d6\UserUpdate7002::transform() does a lot of unnecessary work and uses NULL as an array key.

Steps to reproduce

Run Drupal\Tests\menu_link_content\Kernel\Migrate\d6\MigrateMenuLinkTest

Proposed resolution

Simplify it to the code that produces the same outputs for the same inputs but with way less code/

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

N/a

Issue fork drupal-3557174

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Confirmed this one addresses the deprecation.

  • catch committed 78e36872 on 11.x
    fix: #3557174 Fix use of NULL as array key in \Drupal\user\Plugin\...

catch’s picture

Version: 11.x-dev » 11.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • catch committed 3bce21cf on 11.3.x
    fix: #3557174 Fix use of NULL as array key in \Drupal\user\Plugin\...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.