Problem/Motivation

If an Entity Reference field references another node, the citation generator throws a console JS error:

Error: Call to undefined method Drupal\\node\\Entity\\Node::getName() in Drupal\\citation_select\\Plugin\\CitationFieldFormatter\\EntityReferenceFormatter->getField() (line 21 of /var/www/html/web/modules/contrib/citation_select/src/Plugin/CitationFieldFormatter/EntityReferenceFormatter.php)."

Comments

baysaa created an issue. See original summary.

baysaa’s picture

StatusFileSize
new0 bytes
baysaa’s picture

StatusFileSize
new618 bytes
kylehuynh’s picture

Merged

kylehuynh’s picture

Status: Active » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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