Problem/Motivation

This works:

uid:
  -
    plugin: if_condition
    source: node_ui
    condition:
      plugin: in_array
      value:
        - 0
        - 1
    else_process:
      plugin: migration_lookup
      migration: user

This doesn't

uid:
  -
    plugin: get
    source: node_uid
  -
    plugin: if_condition
    condition:
      plugin: in_array
      value:
        - 0
        - 1
    else_process:
      plugin: migration_lookup
      migration: user

Proposed resolution

Fix it!

Comments

danflanagan8 created an issue. See original summary.

danflanagan8’s picture

Status: Active » Needs review
StatusFileSize
new1.85 KB
new3.96 KB

Thank goodness for my existing test cases. This one was nasty. I kept blowing stuff up.

The last submitted patch, 2: migrate_conditions--if-condition--3276539--2--FAIL.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • danflanagan8 committed ee67126 on 1.0.x
    Issue #3276539 by danflanagan8: if_condition needs source explicitly set...
danflanagan8’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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