When using patch from here to enable replacement tokens from first row: https://www.drupal.org/node/2143979#comment-11613443

Meta tags are not being output when the view is cached when using a Search API view. Meta Description is present when the content is first viewed, but subsequent requests do not have it.

Tried enabled metatag cache, which did not solve the problem. Also disabled authcache - the only other cache we are using.

So far while debugging, I've discovered that tokenize_value is returning an empty array due to row_tokens missing all the values. It looks like the field I'm using for metatag is also missing from $view->result within _metatag_views_render_first_row.

Comments

jasonschweb created an issue. See original summary.

bluegeek9’s picture

Status: Active » Closed (outdated)
//www.flaticon.com/free-icons/thank-you Thank you for your contribution!
Unfortunatly Drupal 7 is no longer supported. We encourage you to upgrade to a modern version of Drupal.

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

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

Maintainers, credit people who helped resolve this issue.