When the parent has attributes, the simple_xml data_parser migrate_plus plugin reduces single-value results to scalars wrongly: it takes the attributes instead of the value.

Patch will follow

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SylvainM created an issue. See original summary.

SylvainM’s picture

pookmish’s picture

Status: Needs review » Needs work

Thanks. the patch was exactly the same thing i ended up doing before i searched for this issue.
Putting to NW to get tests to pass.

pookmish’s picture

Status: Needs work » Reviewed & tested by the community

Oh i just saw the two patches for testing..

  • heddn committed d24565d on 8.x-4.x authored by SylvainM
    Issue #2976091 by SylvainM, pookmish, heddn: Simple Xml data_parser...
heddn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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