The csv_alter function does not use the correct cid to get the addressfield data. Patch attached (this is a PHP 7 patch, will add a PHP 5 patch if I get the time).

Comments

lambic created an issue. See original summary.

lambic’s picture

lambic’s picture

fixed patch attached

lambic’s picture

This patch got broken by the 1.9 release of addressfield_tokens, so here's a fix.

lambic’s picture

Fixed patch to work with 2830233 patch.

  • lambic committed 2c854e4 on 7.x-1.x
    Issue #2957115 by lambic: CSV alter not working
    
lambic’s picture

Committed to 1.x

lambic’s picture

Status: Active » Reviewed & tested by the community
lambic’s picture

dale42’s picture

This patch includes the PHP 7 null coalesce operator: ??, breaking PHP 5 sites.

Is this an accident or will the module require PHP 7 going forward?

lambic’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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