Problem/Motivation

Using version 1.0-alpha with the AJAXRatingLink plugin, there is an error on front end:

Error: Call to a member function getFileUri() on null in Drupal\flag_rating\Plugin\ActionLink\AJAXactionLinkRating->getIcon() (line 54 of modules/contrib/flag_rating/src/Plugin/ActionLink/AJAXactionLinkRating.php).

Proposed resolution

Fix this error.

Remaining tasks

  • Create a separated function to load the Icon
  • Use this function in the admin edit form
  • Use this function in the ActionLink render array

User interface changes

None

API changes

None

Data model changes

None

Comments

matthieuscarset created an issue. See original summary.

matthieuscarset’s picture

Issue summary: View changes
matthieuscarset’s picture

matthieuscarset’s picture

Priority: Normal » Critical
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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