I am using the schema.org module with pivot enabled for the address field of Organization @type. All the fields, except streetAddress pivot. Having looked around the code I can see streetAddress is set to neverExplode in SchemaNameBase.php . I can imagine this is because some addresses have commas, however when used with the pivot functionality it means all locations have the same first line of the address. I would propose that this field should explode, though I appreciate this might make the code more complex to somehow accommodate addresses that have commas in them.

  protected function neverExplode() {
    return [
      'streetAddress',  
      'reviewBody',
      'recipeInstructions',
    ];
  }

Comments

mightyulysses created an issue. See original summary.

mightyulysses’s picture

Issue summary: View changes
damienmckenna’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still a problem with v8.x-2.x or 3.0.x? The 8.x-1.x branch is no longer supported. Thank you.