Hi,

Another problem with the module but this time is related to CSS and JS aggregation, when running CRON:

[error] Error: Call to a member function getEntityTypeId() on null in Drupal\imagefield_tokens\Plugin\Field\FieldFormatter\ImageFieldTokensFormatter->viewElements() (line 176 of //sited8/modules/contrib/imagefield_tokens/src/Plugin/Field/FieldFormatter/ImageFieldTokensFormatter.php) #0 /sited8/core/lib/Drupal/Core/Field/FormatterBase.php(80): Drupal\imagefield_tokens\Plugin\Field\FieldFormatter\ImageFieldTokensFormatter->viewElements(Object(Drupal\file\Plugin\Field\FieldType\FileFieldItemList), 'en')

Hope this information will help you.

CommentFileSizeAuthor
#2 aggregation-3085513-2.patch1.1 KBsosevich.v
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aiphes created an issue. See original summary.

sosevich.v’s picture

Status: Active » Needs review
FileSize
1.1 KB

aiphes, I couldn't reproduce your bug using default crons. Maybe you have some specific crons that triggers that code to run.

Anyway this patch should work for you because there definitely was some incorrect logic in code that could produce bugs you've described.

ysamoylenko’s picture

Status: Needs review » Reviewed & tested by the community

The patch looks good for me.

The patch will be committed soon.

ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

The patch was committed.

aiphes’s picture

composer outdated drupal/* command doesn't show an update for the module..od I need to specify a version ?

Status: Fixed » Closed (fixed)

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