Using a datablock with entitytype = node, having an entity reference field with & in the label and setting the field display options to "Link to the referenced entity" causes a warning "Warning: SimpleXMLElement::addChild(): unterminated entity reference ... in FrxDrupal->loadEntities() (line 181 of forena/plugins/FrxDrupal.inc). The field data is not included in the report.

Where in the above, ... is the part of the field that follows the &.

This is similar to https://www.drupal.org/node/2782837

The symptom can be alleviated by wrapping $value with htmlescapespecialchars() on line 181 in FrxDrupal.inc but I haven't tested for other side effects.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

James Gutholm created an issue. See original summary.

James Gutholm’s picture

metzlerd’s picture

Status: Active » Closed (duplicate)
James Gutholm’s picture

Hi Dave, I'm pretty sure that this is the same symptom as #2782837 but specific to entity reference fields and not corrected by the earlier fix.